Usage: Name der Datei ist länger als Downloadbox

Leon's Avatar

Leon

18 Apr, 2024 09:29 AM

Product: Tao Contao
Contao Version: 5.3.3
Browser and version: Firefox 124.0.2

Hi,
wäre es möglich, dass wenn der Name einer Datei länger ist als der Kasten einer Downloadbox, diesen auf die nächste Zeile zu wrappen oder so?.

Im beispiel habe ich ein column mit 3 spalten, da kommt man schnell an den Rand, da die Downloadbox nicht so groß ist.

  1. 1 Posted by Leon on 18 Apr, 2024 09:32 AM

    Leon's Avatar

    Wenn man in den Metadaten den Namen der Datei ändert, funktioniert es

  2. Support Staff 2 Posted by RockSolid Theme... on 18 Apr, 2024 10:45 AM

    RockSolid Themes's Avatar

    Vielen Dank für Ihre Frage.

    Fügen Sie bitte folgenden CSS-Code in die Datei files/tao/css/custom.css ein um den Text-Umbruch zu aktivieren:

    .ce_downloads, .content-downloads {
        word-break: break-word;
    }
    

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Already uploaded files

  • Screenshot_2024-04-18_at_11.26.37.png 10.4 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac