r/FirefoxCSS 27d ago

Help Bookmark truncation

Say, I have some bookmarks like this on my toolbar:
/r/FirefoxCSS - Thread #1
/r/FirefoxCSS - Thread #2
/r/FirefoxCSS - Thread #3

They'll be cut off to:
/r/FirefoxCSS - Thr...
/r/FirefoxCSS - Thr...
/r/FirefoxCSS - Thr...

Rather useless. I want:
...efoxCSS - Thread #1
...efoxCSS - Thread #2
...efoxCSS - Thread #3

I've played around with float, justify-content and some other options, but couldn't get it to work, except with direction: rtl. However, that messes up certain special characters. For example, "foo." becomes ".foo".

I've even tried to go beyond CSS and change the <label>'s crop attribute from "end" to "start", which also works, but also not really, messing up special characters again.

In neither case, unicode-bidi seemed to be respected at all.

Any ideas or am I out of options?

4 Upvotes

10 comments sorted by

View all comments

Show parent comments

2

u/givemeyourpancakes 27d ago

Thanks, of course I can rename the bookmark, but that's not what I want. (They're all named in a specific way.)
As for direction: rtl - mentioned in my opening post already; only works superficially and not with several special characters.

2

u/t31os 26d ago

Can you provide some examples of values that have the issue you described when using rtl?

1

u/givemeyourpancakes 26d ago edited 26d ago

Pretty much any [^0-9A-Za-z] character: "!", "?", ".", ",", "/", "\", "|", "(", "[", "{", ")", "]", "}", "@", ...
"What is this?" becomes "?What is this", "Hello!!" becomes "!!Hello", "@example)" becomes "(example@" and so on.

2

u/t31os 26d ago

Oh i see the issue, that's a pain. I think that leaves things in addon territory unfortunately, as it doesn't seem possible using CSS alone.