@redseed/redseed-ui-vue3 6.0.5 → 6.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -35,7 +35,24 @@ defineProps({
|
|
|
35
35
|
</template>
|
|
36
36
|
<style lang="scss" scoped>
|
|
37
37
|
.rsui-hero-section {
|
|
38
|
-
@apply rounded-xl
|
|
38
|
+
@apply rounded-xl px-5 py-6 flex flex-col gap-4 md:gap-6 relative overflow-hidden bg-rsui-grey-900 text-rsui-white;
|
|
39
|
+
|
|
40
|
+
&::before {
|
|
41
|
+
content: '';
|
|
42
|
+
position: absolute;
|
|
43
|
+
inset: 0;
|
|
44
|
+
background-size: auto;
|
|
45
|
+
background-position: right center;
|
|
46
|
+
background-repeat: no-repeat;
|
|
47
|
+
opacity: 1;
|
|
48
|
+
z-index: 0;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// Make sure content is above the background
|
|
52
|
+
& > * {
|
|
53
|
+
position: relative;
|
|
54
|
+
z-index: 1;
|
|
55
|
+
}
|
|
39
56
|
|
|
40
57
|
&__cards {
|
|
41
58
|
@apply grid grid-cols-1 md:grid-cols-3 gap-4 md:gap-6;
|
|
@@ -128,11 +128,11 @@ function handleMoreActionsClick() {
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
&__title {
|
|
131
|
-
@apply text-lg leading-7 font-semibold
|
|
131
|
+
@apply text-lg leading-7 font-semibold line-clamp-2 md:line-clamp-1;
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
&__subtitle {
|
|
135
|
-
@apply text-sm leading-5
|
|
135
|
+
@apply text-sm leading-5 line-clamp-3 md:line-clamp-1;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
&__toolbar {
|