mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-02 05:29:42 +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>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="form-row">
|
||||
<label>Session Name</label>
|
||||
<input type="text" id="sessionNameInput" placeholder="Enter session name...">
|
||||
<div class="form-row-inline">
|
||||
<input type="text" id="sessionNameInput" placeholder="Session name...">
|
||||
<button class="btn-toolbar" onclick="app.closeSessionOptions()">Cancel</button>
|
||||
<button class="btn-toolbar btn-primary" onclick="app.saveSessionOptions()">Save</button>
|
||||
</div>
|
||||
|
||||
<!-- Respawn Settings Section -->
|
||||
@@ -286,10 +287,6 @@
|
||||
</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>
|
||||
|
||||
|
||||
@@ -1026,8 +1026,13 @@ body {
|
||||
|
||||
.form-row-inline {
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
gap: 0.5rem;
|
||||
margin-bottom: 0.75rem;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.form-row-inline input[type="text"] {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.form-col {
|
||||
|
||||
Reference in New Issue
Block a user