diff --git a/plugins/geenforce/frontend/views/ManifestEditor.vue b/plugins/geenforce/frontend/views/ManifestEditor.vue index 3a44225..57980e5 100644 --- a/plugins/geenforce/frontend/views/ManifestEditor.vue +++ b/plugins/geenforce/frontend/views/ManifestEditor.vue @@ -945,18 +945,41 @@ loadApplications() /* Modals: wider entry/preview, still responsive (global max-width + width:100%). */ .modal-entry { max-width: min(1100px, 96vw); } .toggle-all { font-weight: 400; font-size: 0.8rem; } -.entry-name { font-weight: 500; } -.entry-desc { font-size: 0.78rem; margin-top: 0.15rem; overflow-wrap: anywhere; } +.entry-name { font-weight: 500; line-height: 1.35; } +.entry-desc { + font-size: 0.78rem; + margin-top: 0.3rem; + line-height: 1.45; + overflow-wrap: anywhere; +} .scope-summary { margin: 0 0 0.75rem 0; font-size: 0.85rem; } /* Fixed layout so the Entry column flexes and the button columns never force a horizontal scroll. */ .scope-detail .entries-table { width: 100%; table-layout: fixed; } -.entries-table th.col-order, .entries-table td.order-cell { width: 58px; } -.entries-table th.col-type { width: 64px; } -.entries-table th.col-actions, .entries-table td.row-actions { width: 128px; } -.order-cell { display: flex; flex-direction: column; gap: 0.2rem; } -.order-cell .btn { padding: 0.1rem 0.3rem; } -.row-actions { display: flex; gap: 0.3rem; flex-wrap: wrap; } +/* Every column was sized to the button text with nothing to spare, so the + action buttons wrapped out of their cell and landed on the description. The + widths below fit Edit + Delete on one line, and nowrap keeps them there. */ +.entries-table th.col-order, .entries-table td.order-cell { width: 84px; } +.entries-table th.col-type { width: 76px; } +.entries-table th.col-actions, .entries-table td.row-actions { width: 172px; } +.entries-table td { + /* A row is two lines of text plus stacked buttons; without vertical padding + and top alignment the rows run into each other. */ + padding: 0.6rem 0.6rem; + vertical-align: top; +} +.order-cell { display: flex; flex-direction: column; gap: 0.3rem; } +.order-cell .btn { + padding: 0.25rem 0.5rem; + width: 100%; +} +.row-actions { + display: flex; + gap: 0.4rem; + flex-wrap: nowrap; + white-space: nowrap; +} +.row-actions .btn { padding: 0.25rem 0.6rem; } .help-panel { margin: 0 0 1rem 0; border: 1px solid var(--border); border-radius: 6px; padding: 0.5rem 0.75rem; background: var(--bg-card); } .help-panel summary { cursor: pointer; font-weight: 600; font-size: 0.9rem; }