feat: 🩹 make small layout tweaks

This commit is contained in:
Sebin Nyshkim 2025-07-19 23:37:38 +02:00
parent 40930e1d8e
commit d210d0b7e7
Signed by: SebinNyshkim
SSH key fingerprint: SHA256:LG1WHMySL/4iW/Yci+0eHgbf0te5beRiLlmyoY8E5D0

View file

@ -72,9 +72,13 @@
:host .avatar { :host .avatar {
grid-area: avatar; grid-area: avatar;
justify-self: center; display: grid;
grid-template-columns: subgrid;
justify-items: center;
align-items: center;
& img { & :where(picture, img) {
display: block;
width: var(--sidebar-avatar-size); width: var(--sidebar-avatar-size);
height: var(--sidebar-avatar-size); height: var(--sidebar-avatar-size);
aspect-ratio: 1/1; aspect-ratio: 1/1;
@ -99,7 +103,6 @@
:host .species { :host .species {
grid-area: species; grid-area: species;
align-self: start; align-self: start;
font-size: 0.75em;
margin: 0; margin: 0;
} }