style.css: a text panel never exceeds its section at phone width
prototype/style.css: .panel max-width is min(34rem, 100%). A right-aligned section (justify-content: flex-end) pushed a 34rem panel off the left edge at 375px, so the install section lost its first characters. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
adbcb21794
commit
e2e55c70bf
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ em { font-style: normal; color: var(--accent); }
|
|||
section { min-height: 100vh; display: flex; align-items: center; padding: 10vh 16px; }
|
||||
section.right { justify-content: flex-end; }
|
||||
.panel {
|
||||
max-width: 34rem; padding: 1.75rem 2rem; margin: 0 max(0px, 6vw);
|
||||
max-width: min(34rem, 100%); padding: 1.75rem 2rem; margin: 0 max(0px, 6vw);
|
||||
background: rgba(22, 33, 44, .86); border-left: 2px solid var(--accent);
|
||||
}
|
||||
.panel.bare { background: none; border: 0; }
|
||||
|
|
|
|||
Loading…
Reference in a new issue