Felder nebeneinander einheitlich ausrichten

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SvuGvHpbAQ4syfuLuRvutL
This commit is contained in:
Maaxxs 2026-10-19 18:15:42 +02:00
parent d5a9356bd3
commit 7c980ce73c
2 changed files with 12 additions and 0 deletions

View file

@ -166,3 +166,6 @@ a.ad-kpi:hover { border-color: var(--line-strong); }
.ad-iconbtn--danger:hover { color: var(--danger); border-color: var(--danger); } .ad-iconbtn--danger:hover { color: var(--danger); border-color: var(--danger); }
.rot90 { transform: rotate(90deg); } .rot90 { transform: rotate(90deg); }
.ad-iconbtn:disabled { opacity: 0.4; cursor: default; } .ad-iconbtn:disabled { opacity: 0.4; cursor: default; }
/* Felder nebeneinander: kein zusätzlicher Abstand oben, sonst sitzt das rechte Feld tiefer */
.ad-form .sm-form-row .sm-field + .sm-field { margin-top: 0; }

View file

@ -104,3 +104,12 @@ h1, h2, h3 { margin: 0; }
.sm-tracking__events li::before { content: ""; position: absolute; left: -4px; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); } .sm-tracking__events li::before { content: ""; position: absolute; left: -4px; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.sm-tracking__events li:first-child::before { background: var(--ink); } .sm-tracking__events li:first-child::before { background: var(--ink); }
.sm-tracking__events small { display: block; color: var(--ink-muted); font-size: 12px; } .sm-tracking__events small { display: block; color: var(--ink-muted); font-size: 12px; }
/* Felder nebeneinander stehen auf einer Linie: Beschriftung, Eingabe und Hinweis teilen sich die Zeilen
des Rasters, auch wenn eine Beschriftung umbricht oder nur ein Feld einen Hinweis hat. */
@supports (grid-template-rows: subgrid) {
@media (min-width: 480px) {
.sm-form-row > .sm-field { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 0; align-content: start; }
.sm-form-row > .sm-field > .sm-field__label { align-self: end; }
}
}