Skip to content

Commit dc7af7d

Browse files
authored
feat(css): added logical overflow properties (#4383)
* feat(css): added logical overflow properties * refactor: added PostCSS plugin * refactor: let's postcss more files * refactor: removed that plugin again * refactor: removed to a duplicate declaration * refactor: reverted package lock file * refactor: reverted that files contents
1 parent e4f0c3b commit dc7af7d

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

packages/components/src/components/custom-select-list/custom-select-list.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
all: unset;
66
padding: variables.$db-spacing-fixed-sm;
77
overflow-y: auto;
8+
overflow-block: auto;
89

910
&::-webkit-scrollbar-button:single-button:vertical:decrement {
1011
border-start-end-radius: 0;

packages/components/src/components/drawer/drawer.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ $spacings: (
100100
);
101101
// TODO: Evaluate whether we need overflow: hidden and that for only specifically set y here.
102102
overflow-y: auto;
103+
overflow-block: auto;
103104
}
104105
}
105106

packages/components/src/components/textarea/textarea.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
@extend %scrollbar;
5353

5454
overflow-y: scroll;
55+
overflow-block: scroll;
5556

5657
// we don't have icons in textarea so we can overwrite it here
5758
padding-block: variables.$db-spacing-fixed-xs

showcases/patternhub/styles/globals.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,7 @@ h6 {
553553
.breadcrumb-container {
554554
display: flex;
555555
overflow-x: auto;
556+
overflow-inline: auto;
556557
align-content: center;
557558
align-items: center;
558559
padding-block: variables.$db-spacing-fixed-sm;

showcases/showcase-styles.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ db-card:is(.variants-card) > .db-card {
138138

139139
.db-page.fixed-header-footer main {
140140
overflow-x: hidden;
141+
overflow-inline: hidden;
141142
}
142143

143144
:root:has(.db-page) {

0 commit comments

Comments
 (0)