dashy icon indicating copy to clipboard operation
dashy copied to clipboard

[BUG] Text overflow in long titles for items in section

Open ToshY opened this issue 3 years ago • 6 comments

Environment

Self-Hosted (Docker)

System

Docker 20.10.17; Docker Compose v2.9.0

Version

2.1.1

Describe the problem

When adding/editing items to a section, if the item's title text is too long, it will overflow the text onto the adjacent item, which is kind of frustrating to the eye.

image

Personally, I rather see something with ellipsis

image

Or any other alternative that refrains from text overflowing.

Additional info

Occurs with every theme, with some deviations, either overflowing or cutting off text image image image image image

Please tick the boxes

ToshY avatar Aug 18 '22 23:08 ToshY

Hi, If I can add my stone on this issue here are some example of myself getting the issue on some themes: In VaporWave theme pic1 Then when I open in section mode we can see the text is OOB. pic2

And in Minimal-Dark theme pic3

The title of the item is: Internal Processes

My Docker version: 20.10.17 (Build 100c701) My Dashy version: 2.1.1 (up to date when posting this)

Lord-ZuzurNC avatar Sep 01 '22 15:09 Lord-ZuzurNC

This issue has gone 6 weeks without an update. To keep the ticket open, please indicate that it is still relevant in a comment below. Otherwise it will be closed in 5 working days.

liss-bot avatar Oct 02 '22 01:10 liss-bot

relevant

ToshY avatar Oct 02 '22 18:10 ToshY

Heya @ToshY Sorry for the delay This is definitely a UI bug, and I've added it to the backlog to fix. Thanks for raising :)

In the meantime, you should be able to fix this in a number of ways with some CSS; here's a few ideas..

Wrap text onto next line:

.tile-title span.text { white-space: normal; }

Hide overflow text:

.tile-title { overflow: hidden; }

Shrink text:

.tile-title span.text { font-size: 0.8rem; }

To apply custom CSS, either add it through the UI (Config Menu --> Custom CSS), or in your config file (appConfig.customCSS). Theming Docs are slightly out-dated, but do explain this further.

Lissy93 avatar Oct 02 '22 21:10 Lissy93

@Lissy93 Thanks for the workaround in the meantime 😄

ToshY avatar Oct 03 '22 08:10 ToshY

Hi,

Just checked your three CSS and they are not validated by "yarn validate-config" and so "yarn build" is getting an error. image image

I tried with the 3 of them and got the same error at the column ":". image

I removed the lines for now and Dashy works back.

Thanks in advance. Lord Z.

Lord-ZuzurNC avatar Oct 04 '22 09:10 Lord-ZuzurNC

#367 Seems like a duplicate to me.

CrazyWolf13 avatar Feb 03 '24 20:02 CrazyWolf13

The fix for this issue has now been released in 2.1.2 ✨

If you haven't done so already, please update your instance to 2.1.2 or later. See 2.1.2 for full info.

Feel free to reach out if you need any more support. If you are enjoying Dashy, consider supporting the project.

liss-bot avatar Mar 03 '24 15:03 liss-bot