ode-bootstrap 1.3.8-develop-mozo.202409182239 → 1.3.8-develop-mozo.202410081624
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/dist/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
ode-bootstrap
|
|
1
|
+
ode-bootstrap 08/10/2024 16:25:02
|
package/package.json
CHANGED
|
@@ -158,13 +158,6 @@ $widget-flash-colors: (
|
|
|
158
158
|
padding-right: 1rem;
|
|
159
159
|
grid-area: 1 / 1 / 2 / 3;
|
|
160
160
|
|
|
161
|
-
// Merge multiple <br> into one and delete the first empty line if present
|
|
162
|
-
p, p>div {
|
|
163
|
-
& > br:first-child, & > br:not(:not(br)+br) {
|
|
164
|
-
display: none;
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
|
|
168
161
|
a {
|
|
169
162
|
color: inherit;
|
|
170
163
|
text-decoration: underline;
|
|
@@ -179,9 +172,35 @@ $widget-flash-colors: (
|
|
|
179
172
|
}
|
|
180
173
|
}
|
|
181
174
|
|
|
175
|
+
// This block merges empty lines and trim empty lines of the content.
|
|
176
|
+
p[flash-message-content]>div {
|
|
177
|
+
& > br+br {
|
|
178
|
+
display: none;
|
|
179
|
+
}
|
|
180
|
+
& > p>br:first-child,
|
|
181
|
+
& > p>br:not(:not(br) + br),
|
|
182
|
+
& > p>div>br:first-child,
|
|
183
|
+
& div:last-child > br:last-child,
|
|
184
|
+
& > p>div>br:not(:not(br) + br) {
|
|
185
|
+
display: none;
|
|
186
|
+
}
|
|
187
|
+
& > p {
|
|
188
|
+
margin-block-start: 1em;
|
|
189
|
+
}
|
|
190
|
+
& > p:not(:last-child) {
|
|
191
|
+
margin-block-end: 1em;
|
|
192
|
+
}
|
|
193
|
+
&::before {
|
|
194
|
+
content:'';
|
|
195
|
+
display:block;
|
|
196
|
+
margin-block-end: 1em;
|
|
197
|
+
}
|
|
198
|
+
margin-block-start: -1em;
|
|
199
|
+
}
|
|
200
|
+
|
|
182
201
|
&.can-be-truncated {
|
|
183
202
|
&:not(.flash-content-is-expandable) {
|
|
184
|
-
p {
|
|
203
|
+
& > p {
|
|
185
204
|
@include has-text-truncated(2);
|
|
186
205
|
padding-bottom: 0;
|
|
187
206
|
}
|