Skip to content

Commit dd9fc95

Browse files
committed
tweak styles - make all items the same height etc
1 parent b1c312f commit dd9fc95

File tree

2 files changed

+16
-11
lines changed

2 files changed

+16
-11
lines changed

packages/repl/src/lib/Input/ComponentSelector.svelte

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -327,16 +327,22 @@
327327
justify-content: flex-end;
328328
}
329329
330-
.option input {
331-
background: transparent;
332-
border: 1px solid var(--sk-border);
333-
border-radius: var(--sk-border-radius);
334-
color: currentColor;
335-
width: 0;
336-
flex: 1;
337-
padding: 0.2rem 0.6rem;
338-
height: 3.2rem;
339-
font: var(--sk-font-ui-medium);
330+
.option {
331+
height: 3.6rem;
332+
333+
input {
334+
background: transparent;
335+
border: none;
336+
border-radius: var(--sk-border-radius);
337+
color: currentColor;
338+
width: 0;
339+
flex: 1;
340+
padding: 0.2rem 0.6rem;
341+
height: 3.2rem;
342+
font: var(--sk-font-ui-medium);
343+
margin: -0.5rem -0.6rem -0.5rem 1rem;
344+
text-align: right;
345+
}
340346
}
341347
342348
svg {

packages/site-kit/src/lib/components/Checkbox.svelte

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
-webkit-appearance: none;
2020
appearance: none;
2121
border: transparent;
22-
margin: 0 0.6em 0 0;
2322
}
2423
2524
input[type='checkbox']::before {

0 commit comments

Comments
 (0)