@asd20/ui 3.2.747 → 3.2.749
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
|
@@ -49,10 +49,10 @@ export default {
|
|
|
49
49
|
const hexValue = cssVariable.slice(0, 7) // Remove the alpha part
|
|
50
50
|
return hexValue
|
|
51
51
|
// Check if the CSS variable value has an alpha value
|
|
52
|
-
} else if (cssVariable.startsWith('rgba
|
|
52
|
+
} else if (cssVariable.startsWith('rgba')) {
|
|
53
53
|
// Extract RGB values from RGBA color string
|
|
54
54
|
const rgbValues = cssVariable.match(/\d+/g)
|
|
55
|
-
if (rgbValues && rgbValues.length
|
|
55
|
+
if (rgbValues && rgbValues.length >= 3) {
|
|
56
56
|
return `rgb(${rgbValues[0]}, ${rgbValues[1]}, ${rgbValues[2]})`
|
|
57
57
|
}
|
|
58
58
|
}
|
|
@@ -124,17 +124,18 @@
|
|
|
124
124
|
content: "";
|
|
125
125
|
display: table;
|
|
126
126
|
clear: both;
|
|
127
|
+
width: 33%;
|
|
127
128
|
}
|
|
128
129
|
// If more than 30 items are in the list,
|
|
129
130
|
// use flex to spread list across page
|
|
130
|
-
.asd20-messaging li:first-child:nth-last-child(n+
|
|
131
|
-
.asd20-messaging li:first-child:nth-last-child(n+
|
|
131
|
+
.asd20-messaging li:first-child:nth-last-child(n+15),
|
|
132
|
+
.asd20-messaging li:first-child:nth-last-child(n+15) ~ li {
|
|
132
133
|
// width: clamp(160px, 100vw/12, 100%);
|
|
133
134
|
// padding-right: 1rem;
|
|
134
135
|
// float:left;
|
|
135
136
|
// height: 120px;
|
|
136
137
|
// width: 25%;
|
|
137
|
-
margin-bottom: 1rem;
|
|
138
|
+
// margin-bottom: 1rem;
|
|
138
139
|
flex: auto;
|
|
139
140
|
flex-basis: 25%;
|
|
140
141
|
}
|