Skip to content

Commit d3cc36f

Browse files
committed
fix: Archived date padding for mobile and minor cleanup
1 parent dba960a commit d3cc36f

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

src/layout/Navbar/NavHost.svelte

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,13 @@
9191
</ul>
9292
</div>
9393
<div id="secondary-navigation">
94-
<span class:selected={modals.settings}>
95-
<button on:click={() => (modals.settings = !modals.settings)} aria-label="Settings">
94+
<button
95+
on:click={() => (modals.settings = !modals.settings)}
96+
class:selected={modals.settings}
97+
aria-label="Settings"
98+
>
9699
<Cog size="20px" color={modals.settings ? 'var(--primary)' : 'var(--surface-six)'} />
97100
</button>
98-
</span>
99101
</div>
100102
</div>
101103
</div>
@@ -124,7 +126,7 @@
124126
#secondary-navigation {
125127
display: flex;
126128
127-
span {
129+
button {
128130
border-radius: 10px;
129131
padding: 10px 16px;
130132

src/routes/announcements/[slug]/Date.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
display: inline-flex;
4646
flex-wrap: wrap;
4747
align-items: center;
48-
gap: 1rem;
48+
column-gap: 1rem;
4949
}
5050
5151
input {

0 commit comments

Comments
 (0)