National Flags

Is there any way to decrease the size of the flags? - National Flags

Is there any way to decrease the size of the flags?

by R3n » Tue Jan 12, 2021 3:17 am

I'm interested in the extension, but I'd prefer to give the flag a height limit of 15px. I don't like how big the default of around 30px is.
User avatar
R3n
Registered User
Posts: 55
Joined: Tue Jan 12, 2021 3:08 am

Re: Is there any way to decrease the size of the flags?

by RMcGirr83 » Tue Jan 12, 2021 11:51 am

The flags themselves are 32px x 32px so you would need to take each and every flag and resize it to the size you want.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
RMcGirr83
Former Team Member
Posts: 22099
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Is there any way to decrease the size of the flags?

by R3n » Tue Jan 12, 2021 8:17 pm

RMcGirr83 wrote:The flags themselves are 32px x 32px so you would need to take each and every flag and resize it to the size you want.
So I did some math, and found 24px x 24px to be around 15px height subtracting clear space, and I batch resized the images to 24px x 24px, only to discover that size is controlled by flags.css, and it doesn't matter what the image size is. Though it's better to downscale the flags to have a cleaner looking output on the page.
User avatar
R3n
Registered User
Posts: 55
Joined: Tue Jan 12, 2021 3:08 am