Skip to content

Commit 7dd0747

Browse files
authored
Merge pull request #10 from DigitalHumanitiesCraft/claude/fix-button-sizes-nhC2Y
Fix inconsistent button sizes in settings data section
2 parents 4f0586e + 765763b commit 7dd0747

File tree

2 files changed

+10
-15
lines changed

2 files changed

+10
-15
lines changed

package-lock.json

Lines changed: 0 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/views/SettingsView.svelte

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175
<span class="guide-subtitle">Backup & Zurücksetzen</span>
176176
</summary>
177177
<div class="guide-content">
178-
<button class="btn" onclick={exportJSON} style="margin-bottom: 0.5rem">Backup exportieren</button>
178+
<button class="btn" onclick={exportJSON}>Backup exportieren</button>
179179

180180
<label class="btn btn-file">
181181
Backup importieren
@@ -268,19 +268,20 @@
268268
}
269269
270270
.btn {
271-
flex: 1;
271+
display: block;
272+
width: 100%;
273+
box-sizing: border-box;
272274
padding: 0.6rem 1rem;
273275
background: var(--color-background);
274276
border: 1px solid var(--color-border);
275277
border-radius: 0.5rem;
276278
font-size: 0.85rem;
277279
cursor: pointer;
278280
text-align: center;
281+
margin-bottom: 0.5rem;
279282
}
280283
281284
.btn-file {
282-
display: block;
283-
margin-bottom: 0.5rem;
284285
cursor: pointer;
285286
}
286287
@@ -289,6 +290,11 @@
289290
border-color: var(--color-danger);
290291
}
291292
293+
.button-group .btn {
294+
flex: 1;
295+
margin-bottom: 0;
296+
}
297+
292298
.confirm-delete {
293299
padding: 0.75rem;
294300
background: rgba(231, 111, 81, 0.05);

0 commit comments

Comments
 (0)