Condense dashboard form buttons to sit inline instead of full-width rows
This commit is contained in:
parent
ddc35c038f
commit
f6d18e25cc
|
|
@ -216,8 +216,8 @@ button.danger {
|
|||
background: var(--panel);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 12px;
|
||||
padding: 20px;
|
||||
margin-bottom: 20px;
|
||||
padding: 16px;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
.card h3 {
|
||||
|
|
@ -322,6 +322,11 @@ button.danger {
|
|||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.inline-form button {
|
||||
width: auto;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none !important;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@
|
|||
<button type="button" class="secondary" id="copy-api-key-btn">Copy</button>
|
||||
<button type="button" class="secondary" id="regenerate-api-key-btn">Regenerate</button>
|
||||
</div>
|
||||
<form id="set-api-key-form" class="inline-form hidden" style="margin-top:12px;">
|
||||
<form id="set-api-key-form" class="inline-form hidden" style="margin-top:8px;">
|
||||
<div class="field-group">
|
||||
<label for="place-api-key-custom">Set custom key <span style="color:var(--muted);font-weight:normal;">(leave blank to auto-generate)</span></label>
|
||||
<input type="text" id="place-api-key-custom">
|
||||
|
|
|
|||
Loading…
Reference in a new issue