Skip to content

Commit b0ff9d2

Browse files
authored
Merge pull request #512 from Mishkoo93/Mishkoo93-patch-1
style: input border radius + sidebar wide
2 parents 562aca2 + f5bb5a3 commit b0ff9d2

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/style/index.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
color: $input-color;
5353
background-color: #fff;
5454
border: 1px solid $input-border-color;
55-
border-radius: 4px;
55+
border-radius: $input-border-radius;
5656
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
5757

5858
&:hover,
@@ -111,13 +111,13 @@
111111
.#{$namespace}-datepicker-sidebar {
112112
float: left;
113113
box-sizing: border-box;
114-
width: 100px;
114+
width: $sidebar-margin-left;
115115
padding: 6px;
116116
overflow: auto;
117117
}
118118

119119
.#{$namespace}-datepicker-sidebar + .#{$namespace}-datepicker-content {
120-
margin-left: 100px;
120+
margin-left: $sidebar-margin-left;
121121
border-left: 1px solid $border-color;
122122
}
123123

src/style/var.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,6 @@ $time-active-background-color: transparent !default;
3030

3131
$time-hover-color: $default-color !default;
3232
$time-hover-background-color: mix(#fff, $calendar-active-background-color, 95%) !default;
33+
34+
$input-border-radius: 4px !default;
35+
$sidebar-margin-left: 100px !default;

0 commit comments

Comments
 (0)