@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redseed/redseed-ui-vue3",
3
- "version": "6.0.5",
3
+ "version": "6.0.6",
4
4
  "description": "RedSeed UI Vue 3 components",
5
5
  "main": "index.js",
6
6
  "repository": "https://github.com/redseedtraining/redseed-ui",
@@ -35,7 +35,24 @@ defineProps({
35
35
  </template>
36
36
  <style lang="scss" scoped>
37
37
  .rsui-hero-section {
38
- @apply rounded-xl bg-rsui-grey-100 px-5 py-6 flex flex-col gap-4 md:gap-6;
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 text-rsui-grey-900 line-clamp-2 md:line-clamp-1;
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 text-rsui-grey-700 line-clamp-3 md:line-clamp-1;
135
+ @apply text-sm leading-5 line-clamp-3 md:line-clamp-1;
136
136
  }
137
137
 
138
138
  &__toolbar {
@@ -28,7 +28,7 @@ const props = defineProps({
28
28
  @apply flex-col-reverse lg:flex-row-reverse;
29
29
  }
30
30
  &__main{
31
- @apply flex-1;
31
+ @apply flex-1 min-w-0 overflow-x-auto;
32
32
  }
33
33
  &__aside{
34
34
  @apply shrink-0 lg:w-72 xl:w-100;