Resolved Distorted Icons...

Tamara-Jasmin

New Member
Joined
Aug 25, 2018
Messages
4
Hi, with the icons something is wrong. They are distorted.
I have set large ICONS to 64px and small ones to 32pixels.
In the forum, the icon is 36x72 pixels.

the Original CSS-code:

.xfa-nit-node-icon {
display: table-cell;
vertical-align: middle;
text-align: center;
width: 46px;
padding: 10px 0 10px 10px;

}
If you change the boldface

width: 69px;
padding: 5px 0 0 5px;
everything is correct.

Have I overlooked a setting or is it a mistake?

LG: Tammy
 

MtoR

Freaky Coder
Staff member
Joined
Nov 14, 2015
Messages
3,773
Hi,

In the latest version, to avoid odd styling issues when mixing custom nodes icons and default xF icons, we have default the maximum size of the icons to 46px.

So you should indeed be overriding the css if you want to get bigger sized icons as you are trying to.

Clément
 

Tamara-Jasmin

New Member
Joined
Aug 25, 2018
Messages
4
It would be nice if you could see the filenames with hover above the icons. Useful e.g. with national flags or with flags of the federal states. The Bavaria flag is simply called bayern.jpg.
Hamburg => hamburg.jpg. But I have no idea what the flag of Hamburg looks like and has to google first. Then I can select the picture;)

LG: Tammy
 

MtoR

Freaky Coder
Staff member
Joined
Nov 14, 2015
Messages
3,773
Please open a separate thread for that feature request.
One thread = one topic.

Thanks,
Clément