@db-ux/core-components 2.0.0 → 2.0.2
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/build/components/navigation-item/navigation-item.css +4 -0
- package/build/components/navigation-item/navigation-item.scss +9 -0
- package/build/styles/absolute.css +3 -3
- package/build/styles/index.css +1 -1
- package/build/styles/relative.css +3 -3
- package/build/styles/rollup.css +3 -3
- package/build/styles/webpack.css +3 -3
- package/package.json +3 -3
|
@@ -334,6 +334,10 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
|
|
|
334
334
|
/* stylelint-disable-next-line db-ux/use-spacings */
|
|
335
335
|
padding-inline-start: var(--db-padding-inline-start);
|
|
336
336
|
}
|
|
337
|
+
.db-navigation-item[data-wrap=true] .db-navigation-item-expand-button:is(button) {
|
|
338
|
+
white-space: normal;
|
|
339
|
+
text-align: start;
|
|
340
|
+
}
|
|
337
341
|
.db-navigation-item[data-force-mobile=true]:not([data-width=full]) .db-navigation-item-expand-button::after {
|
|
338
342
|
--db-icon-margin-start: auto;
|
|
339
343
|
}
|
|
@@ -87,6 +87,15 @@
|
|
|
87
87
|
position: relative;
|
|
88
88
|
inline-size: auto;
|
|
89
89
|
|
|
90
|
+
&[data-wrap="true"] {
|
|
91
|
+
.db-navigation-item-expand-button {
|
|
92
|
+
&:is(button) {
|
|
93
|
+
white-space: normal;
|
|
94
|
+
text-align: start;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
90
99
|
@include screen-sizes.screen("md", "max") {
|
|
91
100
|
&:not([data-width="full"]) {
|
|
92
101
|
.db-navigation-item-expand-button {
|