"Dynamic" line breaks in very long text
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 42/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- react, tailwindcss, typescript
- Ambito
- frontend
Direzione di ricerca
Parti dal rendering dell'etichetta Sidebar.Collapse mostrato nell'issue e verifica come le relative classi Tailwind CSS gestiscono il testo lungo. Il lavoro è completato quando le etichette lunghe vanno a capo in corrispondenza degli spazi senza fuoriuscire né compromettere il layout della barra laterale; verifica il comportamento nella UI della barra laterale interessata.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
- I have searched the Issues to see if this bug has already been reported
- I have tested the latest version
Summary
I am working on a project with Preact and shadcn-ui (TailwindCSS) but needed a sidebar navigation and thus came to this project here. I noticed, that very long texts do not get linebreaks. Here is an example:
The piece you see here is actually this:
<Sidebar.Collapse label="Technischorganisatorische Maßnahmen">
<Link to="#">Audits</Link>
<Link to="#">DSFA / Datenschutzfolgeabschätzung</Link>
<Link to="#">Audits</Link>
</Sidebar.Collapse>
Hence, I would like to request a feature whereby long labels like this would get a linebreak separated by their whitespace.
Context
This is just a very simple CRUD application; a few tables and whatnot. But, my supervisor isn't exactly savy and I am the only one in this whole company with a proper development background. Due to my visual impairment however, I am much more of a TUI dude than GUI ;) Doing my best with what I have. I am sure this could be solved with some CSS, but I couldn't figure it out unfortunately...
Thank you and kind regards!
- Lingua principale
- TypeScript
- Stelle
- 2.1k
- Fork
- 502
- Merge medio
- 19h 16m
- PR unite (30g)
- 2
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di themesberg/flowbite-react
-
fix(Carousel): can't give dynamic children to CarouselForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta:bug: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
themesberg/flowbite-react#1469 · 1 commento ·
-
Pagination is broken if there is only one pageForse già presa @Mukilan1600 l’ha presa 1019 giorni fa. Aperta:bug: bug confirmed good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
themesberg/flowbite-react#1048 · 7 commenti · 1 reazione ·
-
:books: documentation help wanted
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
themesberg/flowbite-react#1696 · 2 commenti ·
-
Add a QRCode componentAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
themesberg/flowbite-react#1693 ·
-
NavbarCollapse closes when toggling a MegaMenuDropdown on mobileForse di nuovo libera @sarthak-11231 l’ha presa 43 giorni fa e non c’è nessuna pull request aperta. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
themesberg/flowbite-react#1686 · 2 commenti ·
Tutte le issue di themesberg/flowbite-react
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
shoelace-style/webawesome#2979 ·
I maintainer di solito rispondono entro 1 giorno
-
Chip source filter and denial markers miss Storage rows when a Storage activity source is pickedApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
omdsh-dev/DSH-better-sidebar#1141 ·
I maintainer di solito rispondono entro 2 giorni