ode-bootstrap 1.3.8-develop-mozo.202409191013 → 1.3.8-develop-mozo.202410091628

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 19/09/2024 10:13:39
1
+ ode-bootstrap 09/10/2024 16:28:10
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ode-bootstrap",
3
- "version": "1.3.8-develop-mozo.202409191013",
3
+ "version": "1.3.8-develop-mozo.202410091628",
4
4
  "description": "Open Digital Education CSS framework based on bootstrap",
5
5
  "repository": {
6
6
  "type": "git",
@@ -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,32 @@ $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
+ & > p {
178
+ margin-block-start: 1em;
179
+ }
180
+ & > p:not(:last-child) {
181
+ margin-block-end: 1em;
182
+ }
183
+ &::before {
184
+ content:'';
185
+ display:block;
186
+ margin-block-end: 1em;
187
+ }
188
+ margin-block-start: -1em;
189
+ &::after {
190
+ content: '';
191
+ display: block;
192
+ margin-block-start: 1em;
193
+ }
194
+
195
+ margin-block-end: -1em;
196
+ }
197
+
182
198
  &.can-be-truncated {
183
199
  &:not(.flash-content-is-expandable) {
184
- p {
200
+ & > p {
185
201
  @include has-text-truncated(2);
186
202
  padding-bottom: 0;
187
203
  }
@@ -13,6 +13,7 @@
13
13
  overflow: hidden;
14
14
  -webkit-line-clamp: $lines;
15
15
  -webkit-box-orient: vertical;
16
+ text-overflow: ellipsis;
16
17
  }
17
18
 
18
19
  // Hack for multiline ellipsis