@asd20/ui 3.2.669 → 3.2.670
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 +1 -1
- package/src/design/_typography.scss +16 -12
package/package.json
CHANGED
|
@@ -96,6 +96,8 @@
|
|
|
96
96
|
padding: 0;
|
|
97
97
|
list-style-position: outside;
|
|
98
98
|
margin: space(0.25) 0 space(1) 0;
|
|
99
|
+
display: flex;
|
|
100
|
+
flex-wrap: wrap;
|
|
99
101
|
}
|
|
100
102
|
|
|
101
103
|
ul > ul,
|
|
@@ -112,12 +114,11 @@
|
|
|
112
114
|
|
|
113
115
|
.asd20-messaging li {
|
|
114
116
|
margin-left: space(1);
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
// Put a little space after each item
|
|
118
|
-
.asd20-messaging li {
|
|
119
117
|
margin-bottom: 0.25rem;
|
|
118
|
+
flex: auto;
|
|
119
|
+
flex-basis: 100%;
|
|
120
120
|
}
|
|
121
|
+
|
|
121
122
|
// Clearfix the floated items
|
|
122
123
|
.asd20-messaging ul:after {
|
|
123
124
|
content: "";
|
|
@@ -125,14 +126,17 @@
|
|
|
125
126
|
clear: both;
|
|
126
127
|
}
|
|
127
128
|
// If more than 30 items are in the list,
|
|
128
|
-
//
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
129
|
+
// use flex to spread list across page
|
|
130
|
+
.asd20-messaging li:first-child:nth-last-child(n+30),
|
|
131
|
+
.asd20-messaging li:first-child:nth-last-child(n+30) ~ li {
|
|
132
|
+
// width: clamp(160px, 100vw/12, 100%);
|
|
133
|
+
// padding-right: 1rem;
|
|
134
|
+
// float:left;
|
|
135
|
+
// height: 120px;
|
|
136
|
+
// width: 25%;
|
|
137
|
+
margin-bottom: 1rem;
|
|
138
|
+
flex: auto;
|
|
139
|
+
flex-basis: 25%;
|
|
136
140
|
}
|
|
137
141
|
|
|
138
142
|
h1,
|