Hello all,
when we create a list of pages with a certain label using the Content by Label Macro Confluence renders it with little scroll bars, which can distract the user (please see the green arrow).
Have you faced similar behavior and can recommend how to avoid it?
Many Thanks
Iakov
Hi lakov,
Try to fix it via stylesheets.
In admin console locate Look&Feel and there Stylesheet.
Next add class for this elements to hide scrollbars.
I guess it could be somethink like that:
.content-by-label{ overflow:hidden !important; }
Maybe you have to set it for overflow-y.
This will work in IE 9+.
I hope it will help you
Hi Ales,
thanks for your quick response.
Yes, the name of the class is '.content-by-label'. Can You explain to me what the property 'overflow' does?
Where would You recommend to read up on CSS properties?
I've tried your code and the following code so far:
.content-by-label{ overflow-y: hidden !important; }
Kind Regards
Iakov
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So it is ok? :) I hope that yes.
There are a lot of CSS, but for me is best this:
About overflow: By this you can said that how to show elements which are bigger than their containers. So when you have a div element with fix size and inner element what is bigger that parent div, then you can set overflow (set scrollbars mainly). I hope that you understand me :) But you can look for it on their site.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ales,
thank you for your answer and the links.
The code I'm using now looks like this:
.content-by-label > li { overflow: hidden; }
It works perfectly in my personal space but doesn't seem to work in other spaces. Any idea?
/Iakov
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So then try to use developer tools in Chrome. Then you can see on right side of panel used CSS styles and there you can find that if it this applied or not.
If you using it in global stylesheet, keep using !important! :) Description of !important.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ales,
obviously this is the right track. Many thanks for your help.
If I find out what's exactly the trick I'll post it here.
KR
Iakov
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am glad to help you :)
Have a nice day!
Ales
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.