Files
beau-gosse-du-92/src/ui/components/avatar_selector.scss
Adrien 0ce0764204 🎨 Isolate infra and ui components
The src/base.rs is still to be reworked.
2024-04-04 14:27:58 +02:00

18 lines
260 B
SCSS

.avatar-selector {
position: relative;
height: 100%;
aspect-ratio: 1;
&__picture {
$height: 65%;
$margin: calc(100% - $height) / 2;
position: absolute;
height: $height;
aspect-ratio: 1;
top: $margin;
right: $margin;
}
}