Skip to content

Commit 143db45

Browse files
committed
small tweaks
1 parent bd87e9e commit 143db45

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

apps/svelte.dev/src/routes/docs/[...path]/Breadcrumbs.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
line-height: 1.35;
1818
1919
span:not(:last-child)::after {
20-
content: ' ';
20+
content: ' / ';
2121
}
2222
}
2323
</style>

packages/site-kit/src/lib/nav/Nav.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ Top navigation bar for the application. It provides a slot for the left side, th
183183
.menu :global(a) {
184184
color: var(--sk-text-2);
185185
line-height: 1;
186-
padding: 0.1rem 0.5rem 0 0.5rem;
186+
padding: 0rem 0.5rem 0 0.5rem;
187187
white-space: nowrap;
188188
height: 100%;
189189
display: flex;

packages/site-kit/src/lib/search/Search.svelte

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Renders a search widget which when clicked (or the corresponding keyboard shortc
5959
6060
input {
6161
position: relative;
62-
padding: 0.5em 0.5em 0.4em 2em;
62+
padding: 0.3em 0.5em 0.4em 2em;
6363
border: none;
6464
font-family: inherit;
6565
font-size: 1em;
@@ -72,17 +72,17 @@ Renders a search widget which when clicked (or the corresponding keyboard shortc
7272
no-repeat 0.6em 55% / 1.2em 1.2em url(../icons/search.svg),
7373
var(--sk-back-4);
7474
color: var(--sk-text-3);
75+
76+
&::placeholder {
77+
text-transform: lowercase;
78+
color: var(--sk-text-3);
79+
}
7580
}
7681
7782
input:focus + .shortcut {
7883
display: none;
7984
}
8085
81-
input::placeholder {
82-
text-transform: lowercase;
83-
color: var(--sk-text-3);
84-
}
85-
8686
.shortcut {
8787
color: var(--sk-text-3);
8888
position: absolute;
@@ -97,10 +97,12 @@ Renders a search widget which when clicked (or the corresponding keyboard shortc
9797
}
9898
9999
kbd {
100+
position: relative;
100101
display: none;
101102
color: var(--sk-text-3);
102103
font-size: inherit;
103104
font-family: inherit;
105+
top: -0.1rem;
104106
}
105107
106108
@media (min-width: 800px) {

0 commit comments

Comments
 (0)