mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-06 23:49:41 +02:00
refactor(ui): move save/cancel buttons inline with session name
Shortens the session options modal by putting the name input and action buttons on the same row at the top. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -189,9 +189,10 @@
|
|||||||
<button class="modal-close" onclick="app.closeSessionOptions()">×</button>
|
<button class="modal-close" onclick="app.closeSessionOptions()">×</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<div class="form-row">
|
<div class="form-row-inline">
|
||||||
<label>Session Name</label>
|
<input type="text" id="sessionNameInput" placeholder="Session name...">
|
||||||
<input type="text" id="sessionNameInput" placeholder="Enter session name...">
|
<button class="btn-toolbar" onclick="app.closeSessionOptions()">Cancel</button>
|
||||||
|
<button class="btn-toolbar btn-primary" onclick="app.saveSessionOptions()">Save</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Respawn Settings Section -->
|
<!-- Respawn Settings Section -->
|
||||||
@@ -286,10 +287,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-actions">
|
|
||||||
<button class="btn-toolbar" onclick="app.closeSessionOptions()">Cancel</button>
|
|
||||||
<button class="btn-toolbar btn-primary" onclick="app.saveSessionOptions()">Save Name</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -1026,8 +1026,13 @@ body {
|
|||||||
|
|
||||||
.form-row-inline {
|
.form-row-inline {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 1rem;
|
gap: 0.5rem;
|
||||||
margin-bottom: 0.75rem;
|
margin-bottom: 0.75rem;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-row-inline input[type="text"] {
|
||||||
|
flex: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-col {
|
.form-col {
|
||||||
|
|||||||
Reference in New Issue
Block a user