File tree Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @spectrum-css/sidenav " : patch
3
+ " @spectrum-css/tooltip " : patch
4
+ ---
5
+
6
+ Replace deprecated ` word-break: break-word ` with ` overflow-wrap: break-word ` to align with modern CSS standards and improve cross-browser compatibility. This property was deprecated in Chrome 44 (July 2015) in favor of the standardized ` overflow-wrap ` property.
Original file line number Diff line number Diff line change 189
189
display : inline-flex;
190
190
justify-content : start;
191
191
box-sizing : border-box;
192
- word-break : break-word;
192
+ overflow-wrap : break-word;
193
193
hyphens : auto;
194
194
cursor : pointer;
195
195
transition :
216
216
.spectrum-SideNav-link-text {
217
217
margin-block-start : var (--mod-sidenav-top-to-label , var (--spectrum-sidenav-top-to-label ));
218
218
margin-block-end : var (--mod-sidenav-bottom-to-label , var (--spectrum-sidenav-bottom-to-label ));
219
+
220
+ /* Allow overflow-wrap to work and prevent text overflow */
221
+ inline-size : 100% ;
219
222
}
220
223
221
224
.spectrum-Icon {
Original file line number Diff line number Diff line change 87
87
font-size : var (--mod-tooltip-font-size , var (--spectrum-tooltip-font-size ));
88
88
font-weight : var (--mod-tooltip-font-weight , var (--spectrum-tooltip-font-weight ));
89
89
line-height : var (--mod-tooltip-line-height , var (--spectrum-tooltip-line-height ));
90
- word-break : break-word;
90
+ overflow-wrap : break-word;
91
91
-webkit-font-smoothing : antialiased;
92
92
93
93
cursor : default;
301
301
line-height : var (--mod-tooltip-line-height , var (--spectrum-tooltip-line-height ));
302
302
margin-block-start : var (--mod-tooltip-spacing-block-start , var (--spectrum-tooltip-spacing-block-start ));
303
303
margin-block-end : var (--mod-tooltip-spacing-block-end , var (--spectrum-tooltip-spacing-block-end ));
304
+
305
+ /* Allow overflow-wrap to work and prevent text overflow */
306
+ inline-size : 100% ;
304
307
}
305
308
306
309
/****** Tooltip Placement and Animation Direction ******/
You can’t perform that action at this time.
0 commit comments