Skip to content

Commit 092d1cb

Browse files
authored
Merge pull request #2254 from lindapaiste/fix/overflow-scroll
Show scrollbars only when necessary
2 parents 90e286a + 8aa7044 commit 092d1cb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

client/styles/components/_collection.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686

8787
.collection-add-sketch {
8888
min-width: #{600 / $base-font-size}rem;
89-
overflow: scroll;
89+
overflow: auto;
9090
}
9191

9292
.collection-share {

client/styles/components/_keyboard-shortcuts.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
margin-right: #{20 / $base-font-size}rem;
44
padding-bottom: #{40 / $base-font-size}rem;
55
width: #{450 / $base-font-size}rem;
6-
overflow-y: scroll;
6+
overflow-y: auto;
77
}
88

99
.keyboard-shortcuts-note {

client/styles/components/_quick-add.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
.quick-add {
88
width: auto;
9-
overflow-y: scroll;
9+
overflow-y: auto;
1010
height: 100%;
1111
@include themify() {
1212
border: 1px solid getThemifyVariable('modal-border-color');

0 commit comments

Comments
 (0)