TonyPullen
Does anyone know how to limit the size of a Character Portrait when it appears on a Character Sheet? I have some players who have loaded large portraits of their character and it's ruining the display of their character sheet.
Can this be done? In CSS?
TIA
Comments
bc. #sidebar .character-avatar .frame {width:100%;}
Change width or height to suit your needs. Oooh... or possibly use "max-width: ___px; max-height: ____px;". That'll give you upper limits for what the character portrait can do. So yeah, try this:
bc. #sidebar .character-avatar .frame {max-width: ___px; max-height: ____px;}
...although your width is already going to be capped by the width of that sidebar, so it's possible you only need to care about height... You can make those values % or px. px (pixels) will give you more control over it. Hopefully this works!
-Thorvaldr
DM of "Tyellador":https://tyellador.obsidianportal.com/
Before I try this - I take it this is just for the sidebar?
If so, I'm actually looking to limit the portrait size on the character sheet itself and not in "Characters" or on the sidebar ...
--
Or are you looking to change the page that lists all the characters? Or am I completely missing everything? :P If I've misinterpreted, can you send me a link to what you're trying to work on?
-Thorvaldr
DM of "Tyellador":https://tyellador.obsidianportal.com/
edited because why didn't I hyperlink?
Thanks.
But nothing seemed to happen.
This is my problem:
https://www.dropbox.com/s/p965bs6herwc49y/charportissues_ObsidianPortal.png
-Thorvaldr
DM of "Tyellador":https://tyellador.obsidianportal.com/