Skip to content

Commit 4958ace

Browse files
author
Alberto Iannaccone
committed
make dialogs scroll when scaling up the UI
1 parent 0b33b51 commit 4958ace

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

arduino-ide-extension/src/browser/style/dialogs.css

+11-1
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@
99
total = padding + margin = 96px
1010
*/
1111
max-width: calc(100% - 96px) !important;
12+
min-width: unset;
13+
max-height: 560px;
1214
padding: 0 28px;
1315
}
1416

1517
.p-Widget.dialogOverlay .dialogBlock .dialogTitle {
16-
padding: 36px 0 28px;
18+
padding: 20px 0;
1719
font-weight: 500;
1820
background-color: transparent;
1921
font-size: var(--theia-ui-font-size2);
@@ -28,6 +30,7 @@
2830

2931
.p-Widget.dialogOverlay .dialogBlock .dialogContent {
3032
padding: 0;
33+
overflow: auto;
3134
}
3235

3336
.p-Widget.dialogOverlay .dialogBlock .dialogContent > input {
@@ -75,3 +78,10 @@
7578
.fa.disabled {
7679
opacity: .4;
7780
}
81+
82+
83+
@media only screen and (max-height: 560px) {
84+
.p-Widget.dialogOverlay .dialogBlock {
85+
max-height: 400px;
86+
}
87+
}

0 commit comments

Comments
 (0)