The document icon (HTML, CSS etc) appears to be of a fixed size, which I cannot change. I actually want to add some extra padding which I tried this way:
.tab-icon {
background-color: white !important;
padding: 2px !important;
}
This was in the Custom CSS in the Color Scheme Editor.
While the background-color and padding properties did work, the icon appears to be of a fixed size, so the actual content is reduced by the padding. I have been unable to change the size of the icon (width & height didn’t work) and changing box-sizing didn’t help either.
How can I either increase the size of the icon or add padding without reducing it?
Thanks for the suggestion. However, while the height works, the width or max-width doesn’t. The width is stuck to the original width and the padding eats into it.
I don’t know then. Changing max-width resizes the icon for me (and the box size of the element as well). I recommend you to use DOM Inspector and Element Inspector (both can be installed with Commando) to investigate. (Shift + Click on an element to open it in the DOM inspector (note you have to restart Komodo first after installing addons)).
Short of hacking the XUL itself, I don’t see a way of overriding the width attribute.
I had intended to write some simple CSS to alter the appearance of the document tabs, especially the selected tab. This not only for me, but also for my students, so some tweaks are not feasible.
I might add that I’m using a Macintosh. Many of the students are using WIndows, so that may be different.