Skip to content

Commit 4aa8a0d

Browse files
author
root
committed
fix(wrapped): resolve story button styles, card glow clipping, and nav overlap
1 parent aa3b196 commit 4aa8a0d

3 files changed

Lines changed: 14 additions & 13 deletions

File tree

assets/wrapped/tailwind.css

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -72,16 +72,17 @@
7272
.wrapped-scope .blur-3xl {
7373
filter: blur(64px) !important;
7474
}
75-
.wrapped-scope a {
76-
color: inherit;
77-
text-decoration: inherit;
78-
}
79-
80-
.wrapped-scope button {
81-
background-color: transparent;
82-
color: inherit;
75+
@layer base {
76+
button,
77+
[type="button"],
78+
[type="reset"],
79+
[type="submit"] {
80+
background-color: transparent;
81+
color: inherit;
82+
}
8383
}
8484

85+
@tailwind base;
8586
.wrapped-scope hr {
8687
border-color: #111827;
8788
}

components/wrapped/Stories/Words-3.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
class="text-5xl"
55
:title="t('results.words.breakdown.title')"
66
>
7+
<WrappedStyleGlow />
8+
79
<div
810
v-for="(data, author) in result.getWordUsage.authors"
911
:key="author"
10-
class="w-full mt-4 max-w-md rounded-3xl bg-white/5 px-8 py-6 text-center shadow-xl shadow-black/40 backdrop-blur-lg"
12+
class="relative z-10 w-full mt-4 max-w-md rounded-3xl bg-white/5 px-8 py-6 text-center shadow-xl shadow-black/40 backdrop-blur-lg overflow-hidden"
1113
>
12-
<WrappedStyleGlow />
13-
1414
<div class="text-2xl font-semibold tracking-tight">
1515
{{ author }}
1616
</div>

components/wrapped/StoryContainer.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<template>
22
<div
3-
class="w-full h-full flex items-center justify-center text-center relative flex-col gap-2 isolate"
3+
class="w-full h-full flex items-center justify-center text-center relative flex-col gap-2 isolate pt-8 pb-4 px-4"
44
>
55
<h2
66
v-if="title"
7-
class="font-extrabold break-words w-3/4 text-shadow-lg text-shadow-white z-50"
7+
class="font-extrabold break-words w-full max-w-xs sm:max-w-sm text-2xl sm:text-3xl text-shadow-lg text-shadow-white z-50 shrink-0 mb-2 leading-tight"
88
style="text-shadow: 0 0 3px black"
99
>
1010
{{ title }}

0 commit comments

Comments
 (0)