Disable ellipsis in bookmarks sidebar (etc)?
-
- Posts: 322
- Joined: April 16th, 2014, 8:54 pm
- Location: Colorado
Disable ellipsis in bookmarks sidebar (etc)?
I'd like to remove ellipses in the bookmarks sidebar (because they seem to me to waste space) and just let overflowing items be truncated at the scrollbar. Can this be done with css? I've done something similar with fadeout in tab titles using mask-image:none, but I can't see what's going on internally with treechildren.
-
- Posts: 6437
- Joined: February 3rd, 2009, 6:29 pm
Re: Disable ellipsis in bookmarks sidebar (etc)?
I don't think so.
I couldn't get the following entries to work.
CSS text-overflow
http://developer.mozilla.org/docs/Web/CSS/text-overflow
Reference
http://searchfox.org/mozilla-release/se ... eechildren
http://searchfox.org/mozilla-release/se ... s&path=css
http://searchfox.org/mozilla-release/se ... is&path=js
http://searchfox.org/mozilla-release/search?q=u2026
Intl.ellipsis
http://kb.mozillazine.org/Intl.ellipsis
I couldn't get the following entries to work.
Code: Select all
.sidebar-placesTreechildren::-moz-tree-cell-text {
text-overflow: clip !important;
}
*|* {
-moz-appearance: none !important;
text-decoration: underline red !important;
text-overflow: clip !important;
}
http://developer.mozilla.org/docs/Web/CSS/text-overflow
Reference
http://searchfox.org/mozilla-release/se ... eechildren
http://searchfox.org/mozilla-release/se ... s&path=css
http://searchfox.org/mozilla-release/se ... is&path=js
http://searchfox.org/mozilla-release/search?q=u2026
Intl.ellipsis
http://kb.mozillazine.org/Intl.ellipsis
- dickvl
- Posts: 54164
- Joined: July 18th, 2005, 3:25 am
-
- Posts: 322
- Joined: April 16th, 2014, 8:54 pm
- Location: Colorado
Re: Disable ellipsis in bookmarks sidebar (etc)?
Well that's odd, because this code works:morat wrote:I don't think so.
I couldn't get the following entries to work.
.sidebar-placesTreechildren::-moz-tree-cell-text {opacity: .5 !important;}
So that's the right ID; perhaps the ellipsis here isn't being produced by the css text-overflow property?
I think this has to do with a different "ellipsis" issue, what the Unicode character is, how it's used to abbreviate URLs etc, what character sets it doesn't display properly in (Japanese!) and so on. Searching for "ellipsis" turns up all that too.dickvl wrote:Found something here:
https://searchfox.org/mozilla-release/s ... s.mjs#1131
-
- Posts: 322
- Joined: April 16th, 2014, 8:54 pm
- Location: Colorado
Re: Disable ellipsis in bookmarks sidebar (etc)?
... I gave up on this approach and found a simple workaround instead that just gets the ellipses out of view, showing another character or two instead right up to the scrollbar, as I wanted.
(Note: at some point I read that years ago Firefox lagged in supporting the text-overflow property, so the treechildren code may initially have had to produce the effect in some other way, and never have been changed.)
Code: Select all
.sidebar-placesTreechildren::-moz-tree-cell-text {margin-right: -20px !important;}