Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Updating to 8.x-1.2 caused the font size on my site to increase on admin pages.
Comment | File | Size | Author |
---|---|---|---|
#9 | Screen Shot 2016-11-10 at 16.50.58.png | 61.3 KB | idiaz.roncero |
#9 | Screen Shot 2016-11-10 at 16.51.12.png | 72.5 KB | idiaz.roncero |
#8 | 2820992-adminial-theme-remove-zoom.patch | 532 bytes | Bcwald |
Comments
Comment #2
ANDiTKO CreditAttribution: ANDiTKO as a volunteer commentedYes that was intentional. Don't you like it?
I'm planning to make this to be optional in next update, but I'm not sure which setting to be default.
I think "seven" fonts are pretty small.
Comment #3
danthorneNot when the font size for the toolbar is smaller on the frontend.
I definitely think the option needs to be added.
But I actually don't dis-mind the larger font size :)
Comment #4
kopin CreditAttribution: kopin commentedI agree, it looks like I'm using enlarged mode for blind people.
The zoom 1.1 style also brakes some Editor functionality. Now i'm overriding it trough a subtheme
Comment #5
saltednutWe don't like it.
Is there a way this can be turned off by default?
Worth noting that we love the theme overall. :)
Comment #6
Bcwald CreditAttribution: Bcwald commentedWhy would you do this through zoom? That is a really intrusive method and breaks many modules that provide their own CSS that are meant to be contained to itself. If you want to increase the font, you should do that via body font style.
Comment #7
modulist CreditAttribution: modulist commentedI would recommend increasing the size of the headers for greater contrast.
However, keeping the size of the font and the vertical padding down in tables will make the rows more compact, allowing you to view more rows in a typical browser window.
Comment #8
Bcwald CreditAttribution: Bcwald commentedComment #9
idiaz.ronceroI agree this has to be an optional. Although I like the idea, I also felt the approach is prone to bugs.
Using the zoom property is easier than changing all the font sizes and spacings, but it leads to some unexpected behaviors like this, in the CKeditor:
Without zoom:1.1
With zoom:1.1
And in general, UI images (like the throbber and the ckeditor buttons) feel blurred because of the zoom.
Comment #10
ANDiTKO CreditAttribution: ANDiTKO at Netstudio commentedThe zoom will be reverted back as default in next release. Stay tuned.
Feel free to use the patch before its ported. Thank you for your input
Comment #11
lukedekker CreditAttribution: lukedekker commentedThe zoom also causes the height of some Views admin overlays to be miscalculated. This causes parts of the form to display off window.
I know this has already been resolved, just an FYI for consideration on future updates.
Comment #12
saltednutThanks for all your hard work @ANDiTKO !
Comment #13
ANDiTKO CreditAttribution: ANDiTKO at Netstudio commentedZoom is now removed. But i like the idea of controlling font-size and make things a little bigger. Next time will be a setting and i will find a way to do it without using the zoom property.
Thanks everyone for testing and reporting!
Comment #14
ANDiTKO CreditAttribution: ANDiTKO at Netstudio commentedComment #15
idiaz.ronceroI do like the idea also. Maybe you could try setting font-size as a percentage (i.e. 110%)?