Spacc BBS Spacc BBS
    • Categorie
    • Recenti
    • Tag
    • Popolare
    • Mondo
    • Utenti
    • Gruppi
    • Registrati
    • Accedi
    La nuova BBS è in fase Alpha. I post precedenti al 22 luglio 2024 potrebbero non essere trasferibili, ma rimarranno disponibili per la lettura su /old/.

    I have a weird #webDev question #askFedi

    Pianificato Fissato Bloccato Spostato Uncategorized
    webdevaskfedi
    3 Post 1 Autori 0 Visualizzazioni
    Caricamento altri post
    • Da Vecchi a Nuovi
    • Da Nuovi a Vecchi
    • Più Voti
    Rispondi
    • Topic risposta
    Effettua l'accesso per rispondere
    Questa discussione è stata eliminata. Solo gli utenti con diritti di gestione possono vederla.
    • oblomov@sociale.networkO Questo utente è esterno a questo forum
      oblomov@sociale.network
      ultima modifica di

      I have a weird #webDev question #askFedi

      I'm customizing the Apache directory index in XHTML mode (so no hard styling). The table is set to width: 100% with some padding via CSS. When I restrict the horizontal space below 825px, though, the central (Name) column doesn't shrink anymore, as if there was something preventing it from wrapping text more than it has, so the table overflows. Only happens in some directories. How do I find what's preventing the shrink/wrap?

      oblomov@sociale.networkO 1 Risposta Ultima Risposta Rispondi Cita 1 0
      • oblomov@sociale.networkO Questo utente è esterno a questo forum
        oblomov@sociale.network @oblomov@sociale.network
        ultima modifica di

        The culprit is most likely a file or directory name that the layout engine thinks it cannot be wrapped better, but with thousands of entries it's hard to understand which one and why.

        oblomov@sociale.networkO 1 Risposta Ultima Risposta Rispondi Cita 0
        • gustavinobevilacqua@mastodon.cisti.orgG gustavinobevilacqua@mastodon.cisti.org shared this topic
        • oblomov@sociale.networkO Questo utente è esterno a questo forum
          oblomov@sociale.network @oblomov@sociale.network
          ultima modifica di

          Solved by setting the name column to

          overlay-wrap: anywhere

          Still wraps correctly in most cases, but it's managing to wrap whatever was preventing it earlier.

          1 Risposta Ultima Risposta Rispondi Cita 1 0
          • Primo post
            Ultimo post