Skip to content

Commit 46a9a43

Browse files
refactor(calendar-web): update CSS to use variables for font size and spacing
1 parent 98a6318 commit 46a9a43

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

packages/pluggableWidgets/calendar-web/src/ui/Calendar.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@
99

1010
min-height: 350px;
1111
margin-bottom: var(--form-group-margin-bottom, $cal-form-group-margin-bottom);
12-
user-select: none;
1312
-ms-user-select: none;
13+
-webkit-user-select: none;
14+
user-select: none;
1415

1516
.rbc-calendar {
1617
width: 100%;
@@ -30,15 +31,15 @@
3031
}
3132

3233
.calendar-label {
33-
font-size: 16px;
34+
font-size: var(--font-size-default, 16px);
3435
}
3536

3637
.calendar-toolbar {
3738
display: flex;
3839
align-items: center;
3940
justify-content: space-between;
4041
flex-wrap: wrap;
41-
padding-bottom: 10px;
42+
padding-bottom: var(--spacing-medium, 10px);
4243
}
4344

4445
.rbc-current-time-indicator {

0 commit comments

Comments
 (0)