Unify user profile display with a nice macro and handle camera errors

This commit is contained in:
2024-08-21 11:44:11 +02:00
committed by Bartuccio Antoine
parent ef1537ac2c
commit e7d04d9817
3 changed files with 172 additions and 170 deletions

View File

@ -260,6 +260,12 @@ a:not(.button) {
}
}
&.btn-red {
background-color: #fc8181;
color: black;
border: #fc8181 1px solid;
}
i {
margin-right: 4px;
}

View File

@ -63,6 +63,11 @@
padding: 10px 10px 0;
}
.camera-error {
background-color: red;
min-width: 100%;
}
&-display {
display: flex;
flex-direction: column;
@ -74,13 +79,17 @@
height: auto;
}
>img {
> img, > video {
width: 100% !important;
object-fit: contain;
height: auto;
max-height: 100%;
}
> i {
font-size: 32px;
}
>p {
text-align: left !important;
width: 100% !important;