Claro - fix issue with icon sizes

Created on 12 January 2023, almost 2 years ago
Updated 12 January 2024, 11 months ago

I have recently switched form using Seven admin theme to Claro as I prepare to update to Drupal 10.

One thing I have noticed, is that when logged in on the front end the icon sizes do not scale well with my custom theme.

I am using rem's and scaling my content using media queries, so that type looks bigger on a larger screen.

Having a quick look I am able to fix this issue by simply swapping out references to rem with ems for the icon sizes including width and height

This is evident when using viewing the front end base theme that uses media queries to change the rem base font setting and using the admin toolbar. See attached screenshots.

🐛 Bug report
Status

Fixed

Version

11.0 🔥

Component
Claro 

Last updated 2 days ago

Created by

🇬🇧United Kingdom 2dareis2do

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024