Skip to content

Commit 218e4ea

Browse files
committed
fix: text and icons align
1 parent 1456b68 commit 218e4ea

File tree

4 files changed

+672
-491
lines changed

4 files changed

+672
-491
lines changed

app/pages/actualidad.vue

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,16 @@ watch(currentPage, () => {
7979
<LoadPost :permalink="post.permalink" :truncate="220" />
8080
</div>
8181
<div class="card-footer bg-dark p-0 rounded-bottom overflow-hidden">
82-
<div class="d-flex align-items-center ps-3">
83-
<Icon class="text-light" name="solar:calendar-linear" size="1.1rem" />
84-
<small class="text-body-secondary ms-1" itemprop="datePublished" :content="formatDate(post.fecha, { type: 'iso' })">
85-
{{ formatDate(post.fecha) }}
86-
</small>
87-
<NuxtLink class="hover ms-auto bg-primary text-light py-1 px-3" :to="`/p/${post.permalink}`">
88-
<small>{{ t("abrir") }} <Icon name="solar:arrow-right-bold" size="1.5rem" /></small>
82+
<div class="d-flex align-items-center justify-content-between">
83+
<div class="d-flex align-items-center gap-2 ms-3">
84+
<Icon class="text-light" name="solar:calendar-linear" size="1.1rem" />
85+
<span class="text-body-secondary small" itemprop="datePublished" :content="formatDate(post.fecha, { type: 'iso' })">
86+
{{ formatDate(post.fecha) }}
87+
</span>
88+
</div>
89+
<NuxtLink class="hover bg-primary text-light py-1 px-3 d-flex align-items-center" :to="`/p/${post.permalink}`">
90+
<span class="small">{{ t("abrir") }}</span>
91+
<Icon name="solar:arrow-right-bold" size="1.5rem" />
8992
</NuxtLink>
9093
</div>
9194
</div>

app/pages/index.vue

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,16 @@ useHead({
7171
<LoadPost :permalink="post.permalink" :truncate="220" />
7272
</div>
7373
<div class="card-footer bg-dark p-0 rounded-bottom overflow-hidden">
74-
<div class="d-flex align-items-center ps-3">
75-
<Icon class="text-light" name="solar:calendar-linear" size="1.1rem" />
76-
<small class="text-body-secondary ms-1" :title="String(post.fecha)" itemprop="datePublished" :content="formatDate(post.fecha, { type: 'iso' })">
77-
{{ formatDate(post.fecha) }}
78-
</small>
79-
<NuxtLink class="hover ms-auto bg-primary text-light py-1 px-3" :to="`/p/${post.permalink}`">
80-
<small>{{ t("abrir") }} <Icon name="solar:arrow-right-bold" size="1.5rem" /></small>
74+
<div class="d-flex align-items-center justify-content-between">
75+
<div class="d-flex align-items-center gap-2 ms-3">
76+
<Icon class="text-light" name="solar:calendar-linear" size="1.1rem" />
77+
<span class="text-body-secondary small" :title="String(post.fecha)" itemprop="datePublished" :content="formatDate(post.fecha, { type: 'iso' })">
78+
{{ formatDate(post.fecha) }}
79+
</span>
80+
</div>
81+
<NuxtLink class="hover bg-primary text-light py-1 px-3 d-flex align-items-center" :to="`/p/${post.permalink}`">
82+
<span class="small">{{ t("abrir") }}</span>
83+
<Icon name="solar:arrow-right-bold" size="1.5rem" />
8184
</NuxtLink>
8285
</div>
8386
</div>

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@
3434
},
3535
"devDependencies": {
3636
"@ckeditor/ckeditor5-vue": "^6.0.0",
37-
"@cloudflare/workers-types": "^4.20240718.0",
37+
"@cloudflare/workers-types": "^4.20240725.0",
3838
"@glidejs/glide": "^3.6.2",
3939
"@nuxt/eslint": "^0.3.13",
40-
"@nuxt/icon": "^1.2.1",
40+
"@nuxt/icon": "^1.3.1",
4141
"@nuxt/scripts": "^0.6.4",
4242
"@nuxthub/core": "^0.7.1",
4343
"@nuxtjs/sitemap": "^5.3.5",
@@ -48,10 +48,10 @@
4848
"@vue-email/render": "^0.0.9",
4949
"bootstrap": "^5.3.3",
5050
"chart.js": "^4.4.3",
51-
"ckeditor5": "^42.0.1",
51+
"ckeditor5": "^42.0.2",
5252
"drizzle-kit": "^0.23.0",
53-
"drizzle-orm": "^0.32.0",
54-
"eslint": "^9.7.0",
53+
"drizzle-orm": "^0.32.1",
54+
"eslint": "^9.8.0",
5555
"nodemailer": "^6.9.14",
5656
"nuxt": "^3.12.4",
5757
"nuxt-aos": "^1.2.5",
@@ -60,8 +60,8 @@
6060
"stylelint-config-standard": "^36.0.1",
6161
"typescript": "^5.5.3",
6262
"vue-tsc": "^2.0.26",
63-
"wrangler": "^3.65.1",
63+
"wrangler": "^3.67.1",
6464
"zod": "^3.23.8"
6565
},
66-
"packageManager": "pnpm@9.5.0"
66+
"packageManager": "pnpm@9.6.0"
6767
}

0 commit comments

Comments
 (0)