Skip to content

Commit 248b752

Browse files
committed
Minimal responsiveness improvements
1 parent 4301634 commit 248b752

File tree

5 files changed

+12
-5
lines changed

5 files changed

+12
-5
lines changed

src/lib/components/Navbar.svelte

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@
3939
border-bottom: 2px solid var(--color-accent);
4040
}
4141
42+
@media only screen and (max-width: 400px) {
43+
header {
44+
padding: 10px;
45+
}
46+
}
47+
4248
button {
4349
border: none;
4450
background-color: transparent;
@@ -58,7 +64,7 @@
5864
}
5965
6066
h1 {
61-
font-size: min(1.2em, 4vw);
67+
font-size: 1.2em;
6268
font-weight: 100;
6369
font-family: 'Dela Gothic One', sans-serif;
6470
color: var(--color-accent);

src/lib/components/Theme.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
width: 100%;
104104
}
105105
106-
:global(form) {
106+
:global(form, .form) {
107107
padding: 20px;
108108
display: flex;
109109
flex-direction: column;

src/lib/components/setlist/SetlistWidget.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
3434
.title {
3535
font-weight: 600;
36+
font-size: 1.05em;
3637
margin-bottom: 3px;
3738
}
3839

src/lib/components/song/SongSettings.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
Song Settings
2020
{/snippet}
2121
{#snippet main()}
22-
<form>
22+
<div class="form">
2323
{#if openSongState.song}
2424
<label>
2525
Edit Key
@@ -32,7 +32,7 @@
3232
{:else}
3333
Please open a Song first
3434
{/if}
35-
</form>
35+
</div>
3636
{/snippet}
3737
{#snippet footer()}
3838
<button> + Edit metadata </button>

src/lib/components/song/SongWidget.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
4040
.title {
4141
font-weight: 600;
42-
font-size: 1em;
42+
font-size: 1.05em;
4343
margin-bottom: 3px;
4444
}
4545

0 commit comments

Comments
 (0)