Skip to content

Commit ddcb01e

Browse files
unazkoilhan007
authored andcommitted
fix(ui5-view-settings-dialog): adjust scrollbar behavior (#4795)
Problem description: The ui5-dialog's content could have a redundant horizontal scrollbar on Safari and Firefox when there is a vertical scrollbar placed as an overlay. Solution: A right margin is applied to the ui5-view-settings-dialog content and ui5-date-picker content. Fixes: #4724 Fixes: #4725 Fixes: #4860
1 parent 9ace82c commit ddcb01e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/fiori/src/themes/ViewSettingsDialog.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
}
1414

1515
.ui5-vsd-content {
16-
margin: 0 -1rem;
16+
margin: 0 0.1px 0 -1rem;
1717
}
1818

1919
.ui5-vsd-title {

packages/main/src/themes/Calendar.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
box-sizing: border-box;
88
height: var(--_ui5_calendar_height);
99
width: var(--_ui5_calendar_width);
10-
padding: var(--_ui5_calendar_top_bottom_padding) var(--_ui5_calendar_left_right_padding) 0;
10+
margin: var(--_ui5_calendar_top_bottom_padding) var(--_ui5_calendar_left_right_padding) 0;
1111
display: flex;
1212
flex-direction: column-reverse;
1313
justify-content: flex-end;

0 commit comments

Comments
 (0)