Changeset 1664f31 in Klonkt for src/views/pages


Ignore:
Timestamp:
06/21/2026 04:01:09 PM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
d70cab7
Parents:
11b3ba5
Message:

fix(uiterlijk): links rows overflowed on mobile → horizontal overflow

.profile-link-row had a fixed 160px column + a non-shrinkable URL input
(min-width:auto ~228px) without a media query → together ~447px > phone width,
causing the Appearance page to be too wide (zoomable). Now mobile-first: the
platform select gets its own full-width row, input may shrink (min-width:0); the
old 160px 1fr auto row only from 520px. Measured: row 447→360px.

Co-Authored-By: Claude <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/pages/admin-site-edit.ejs

    r11b3ba5 r1664f31  
    560560  .photo-controls { gap: .55rem; }
    561561}
     562/* Mobiel-eerst: platform-keuze op een eigen regel (volle breedte), daaronder de
     563   URL-input + verwijderknop. Voorkomt horizontale overflow op telefoons (de vaste
     564   160px-kolom + niet-krimpbare input liepen samen ~447px > schermbreedte). */
    562565.profile-link-row {
    563   display: grid; grid-template-columns: 160px 1fr auto; gap: 0.5rem; margin-bottom: 0.5rem;
    564 }
    565 .profile-link-row select { padding: 0.45rem 0.6rem; }
     566  display: grid; grid-template-columns: 1fr auto; gap: 0.5rem; margin-bottom: 0.5rem;
     567}
     568.profile-link-row select { padding: 0.45rem 0.6rem; grid-column: 1 / -1; }
     569.profile-link-row input { min-width: 0; }
     570@media (min-width: 520px) {
     571  .profile-link-row { grid-template-columns: 160px 1fr auto; }
     572  .profile-link-row select { grid-column: auto; }
     573}
    566574.profile-links-fieldset details > label { margin-top: 0.4rem; }
    567575</style>
Note: See TracChangeset for help on using the changeset viewer.