Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.

Commit 6702351

Browse files
SORMAS-Foundation#2447 Prevent unintended page scrolling on create forms (SORMAS-Foundation#4158)
* fix SORMAS-Foundation#2447 SORMAS-Foundation#3601 SORMAS-Foundation#3850 * Potential new fix for laggy windows SORMAS-Foundation#2447 * Fixed missing padding SORMAS-Foundation#2447
1 parent 758d7c8 commit 6702351

1 file changed

Lines changed: 40 additions & 33 deletions

File tree

  • sormas-ui/src/main/webapp/VAADIN/themes/sormas/components

sormas-ui/src/main/webapp/VAADIN/themes/sormas/components/window.scss

Lines changed: 40 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -2,37 +2,44 @@
22
@mixin sormas-window {
33

44
.v-window {
5-
6-
.v-window-outerheader {
7-
8-
border-bottom: 3px solid $v-focus-color;
9-
10-
.v-window-header {
11-
padding: 16px 32px 8px 32px;
12-
font-size: 24px;
13-
font-weight: 600;
14-
color: $s-primary-color;
15-
}
16-
17-
&::after {
18-
content: null;
19-
}
20-
}
21-
22-
.v-window-contents > .v-scrollable > .v-layout {
23-
24-
&.v-margin-left {
25-
padding-left: 32px;
26-
}
27-
&.v-margin-right {
28-
padding-right: 32px;
29-
}
30-
&.v-margin-top {
31-
padding-top: 32px;
32-
}
33-
&.v-margin-bottom {
34-
padding-bottom: 32px;
35-
}
36-
}
5+
6+
.v-window-outerheader {
7+
8+
border-bottom: 3px solid $v-focus-color;
9+
background-color: white;
10+
11+
.v-window-header {
12+
padding: 16px 32px 8px 32px;
13+
font-size: 24px;
14+
font-weight: 600;
15+
color: $s-primary-color;
16+
}
17+
18+
&::after {
19+
content: null;
20+
}
21+
}
22+
23+
.v-window-contents > .v-scrollable {
24+
max-height: 94vh;
25+
}
26+
27+
.v-window-contents > .v-scrollable > .v-layout{
28+
&.v-margin-left {
29+
padding-left: 32px;
30+
}
31+
32+
&.v-margin-right {
33+
padding-right: 32px;
34+
}
35+
36+
&.v-margin-top {
37+
padding-top: 32px;
38+
}
39+
40+
&.v-margin-bottom {
41+
padding-bottom: 32px;
42+
}
43+
}
3744
}
38-
}
45+
}

0 commit comments

Comments
 (0)