Discuss Scratch

Voxalice
Scratcher
1000+ posts

Scroll Bar For Signatures

I think it's important to note that implementing this suggestion would require adding one (1) line of CSS.

https://cdn.scratch.mit.edu/scratchr2/static/__cac9f5adaa9051e99d80cf9a10ac4e8f__//djangobb_forum/themes/scratch_default_theme_copy/style.css is a link to Scratch's forum style. (Not “base.css” - that's the default style provided by DjangoBB.)

To implement this suggestion, here's what would have to be appended to the end of the linked file:
.postsignature { overflow-y: auto; }
I just tested this using Chrome's override feature, and it works perfectly fine.

In that implementation, scroll bars are only added to signatures that are too tall for their containers.
To make scroll bars show up on every signature, use this line of CSS:
.postsignature { overflow-y: scroll; }
Of course, the signature line still gets scrolled with the rest of the signature, which is probably unwanted behavior.

@ACE009 shared some CSS to fix this issue, which I've modified slightly:
.postsignature { overflow-y: auto; max-height: 154px; margin-top: 14px; }
.postmsg > :nth-last-child(2) { position: relative; }
.postmsg > :nth-last-child(2)::after { content: "____________________________"; color: #ccc; position: absolute; left: 0; bottom: -6.5px; height: 14px; }
.postsignature hr { display: none; }
/* To make scrollbars visible, remove this line. */ .postsignature::-webkit-scrollbar { display: none; }
/* To make scrollbars visible, remove this line. */ .postsignature { scrollbar-width: none; }
Again, it works perfectly fine and nothing looks different, unless the scrollbars are made visible.

Last edited by Voxalice (Dec. 23, 2024 22:34:55)

Voxalice
Scratcher
1000+ posts

Scroll Bar For Signatures

Bringing this topic up to the first page of Suggestions.
nikky10000000
Scratcher
500+ posts

Scroll Bar For Signatures

support this would make it easier to read long signatures
Voxalice
Scratcher
1000+ posts

Scroll Bar For Signatures

Voxalice wrote:

(#162)
Bringing this topic up to the first page of Suggestions.
See my other post for more information.
kip23s
Scratcher
100+ posts

Scroll Bar For Signatures

Isn't there already scroll bars on siggys?
mingo-gag
Scratcher
1000+ posts

Scroll Bar For Signatures

Support it will be an easier way to see long signatures and most users don't know how to Shift + Down Arrow also I agree with @Voxalice that it will work fine and wouldn't be that hard to implement since it's 1 line of CSS.
VedanshS933
Scratcher
1000+ posts

Scroll Bar For Signatures

bump
DrWafflehead
Scratcher
76 posts

Scroll Bar For Signatures

As someone who has just ran into this problem myself, I think that, if they really don't want to add scrolling (for spam purposes or whatever), they could at least add a length limit. Because, when I made mine, I didn't realize it was going to be cutoff (just thought preview was broken). For that reason, if they had a length limit, at least I would've known that that would happen

also bump
mingo-gag
Scratcher
1000+ posts

Scroll Bar For Signatures

Bringing this topic back up again
Mozboz
Scratcher
1000+ posts

Scroll Bar For Signatures

I am now finding it impossible to use the Shift-Down trick.
AlsoMtaka4
New Scratcher
4 posts

Scroll Bar For Signatures

kip23s wrote:

Isn't there already scroll bars on siggys?
No. You can scroll with shift select down arrow
mtaka4
Scratcher
100+ posts

Scroll Bar For Signatures

AlsoMtaka4 wrote:

kip23s wrote:

Isn't there already scroll bars on siggys?
No. You can scroll with shift select down arrow
forgot I was on my alt
Scyth3d
Scratcher
500+ posts

Scroll Bar For Signatures

Support. For the longest time i thought there was scroll bars… Then I turned my extension off
secretuch
Scratcher
100+ posts

Scroll Bar For Signatures

Bump

Powered by DjangoBB