Fix admin form layout - add compact setting-row class for grid layouts
- Added .setting-row-compact class for stacked label/input layout - Updated TemplatesView.php grid to use compact rows (3 columns) - Updated RecurringTicketsView.php grid to use compact rows (2 columns) - Removed inline style="width: 100%" (handled by CSS now) - Labels now stack above inputs in grid context for clarity - Updated cache version to 20260126b Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -2659,6 +2659,26 @@ body.dark-mode select option {
|
||||
accent-color: var(--terminal-green);
|
||||
}
|
||||
|
||||
/* Compact setting rows - stacked layout for grids/narrow containers */
|
||||
.setting-row-compact {
|
||||
flex-direction: column !important;
|
||||
align-items: stretch !important;
|
||||
gap: 0.25rem !important;
|
||||
}
|
||||
|
||||
.setting-row-compact label {
|
||||
min-width: auto !important;
|
||||
padding-top: 0 !important;
|
||||
margin-bottom: 0.25rem;
|
||||
}
|
||||
|
||||
.setting-row-compact input,
|
||||
.setting-row-compact select,
|
||||
.setting-row-compact textarea {
|
||||
width: 100% !important;
|
||||
min-width: auto !important;
|
||||
}
|
||||
|
||||
.setting-select {
|
||||
flex: 1;
|
||||
max-width: 200px;
|
||||
|
||||
Reference in New Issue
Block a user