Skip to content

Commit df11834

Browse files
committed
Small styling fixes.
1 parent 2253ee1 commit df11834

File tree

3 files changed

+21
-4
lines changed

3 files changed

+21
-4
lines changed

src/themes/designer/styles/buttons.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
border: none;
7474
padding: 0;
7575
position: absolute;
76-
top: 8px;
76+
top: 1px;
7777
right: 0;
7878
color: $collapse-button-color;
7979
cursor: pointer;

src/themes/designer/styles/forms.scss

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,12 @@ textarea {
168168
}
169169
}
170170

171+
.form-label {
172+
.btn-info {
173+
top: 8px;
174+
}
175+
}
176+
171177
.input-group {
172178
display: flex !important;
173179
border: 1px solid $form-control-border;
@@ -185,13 +191,15 @@ textarea {
185191
}
186192

187193
.input-group-btn {
188-
min-width: 1.5em;
194+
min-width: 2em;
189195
border: none;
190196
line-height: inherit;
191197
cursor: pointer;
192-
display: inline-block;
193198
line-height: 2em;
194199
font-size: $form-control-font-size;
200+
display: flex;
201+
align-items: center;
202+
justify-content: center;
195203

196204
&:active,
197205
&:focus,
@@ -285,5 +293,14 @@ details {
285293
&:-webkit-details-marker {
286294
display: none;
287295
}
296+
297+
& > .btn-info {
298+
top: 1px;
299+
}
300+
301+
&:focus {
302+
outline: 1px solid #ccc;
303+
outline-offset: 2px;
304+
}
288305
}
289306
}

src/themes/designer/styles/variables.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ $arrow-active-color: #F58634;
5757
$icon-base-color: #57585a;
5858

5959
/* Forms */
60-
$form-control-font-size: 0.9em;
60+
$form-control-font-size: 1em;
6161
$form-control-border: #e6e7e8;
6262
$form-control-border-focused: #61b2e8;
6363
$form-control-bg: #ffffff;

0 commit comments

Comments
 (0)