[BUG] .small-box should use a transform instead of transitioning the font-size
See original GitHub issueDescribe the bug
.small-box
should use a transform
instead of transitioning the font-size
Environment (please complete the following information):
- AdminLTE Version: 3.0.5
Additional context
Transitioning transforms is more performant that the font-size.
Initially I did it in https://github.com/pi-hole/AdminLTE/pull/1386 but since it’s present in AdminLTE latest, I thought I’d make an issue so that it’s fixed properly upstream.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Chrome css transform scale/font-size issue - Stack Overflow
I have a custom css checkbox. Suppose when I narrow down the screen width, the size of checkbox and the tick sign will...
Read more >text-size-adjust - CSS: Cascading Style Sheets - MDN Web Docs
When an element containing text uses 100% of the screen's width, the algorithm increases its text size, but without modifying the layout. The...
Read more >Font Size Problems? Check Here First! - Codecademy
Hi everyone,. I've seen a lot of confusion surrounding exercises 2 and 3 in HTML Basics II > Styling the font! I want...
Read more >Linearly Scale font-size with CSS clamp() Based on the Viewport
All we have to do is now is apply the font size and width to the container instead of the text elements directly....
Read more >Font Size - Tailwind CSS
Control the font size of an element using the text-{size} utilities. text-sm. The quick brown fox jumps over the lazy dog. text-base.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I opened #2719 to track the remaining stuff, closing this since a patch has landed on master 😃
The thing is I’m not 100% familiar with your codebase, so I’d rather not make these changes myself. 😃
It’s not super urgent but it should be addressed because it really is bad for performance.