fix square shape of board avatars

This commit is contained in:
Tom
2023-04-30 14:54:12 +02:00
parent 7008b5649d
commit 648dc1b92a
2 changed files with 13 additions and 4 deletions
+10 -3
View File
@@ -213,11 +213,18 @@ export const BoardsContent = styled.div`
margin-bottom: 5px;
}
img {
.board-avatar-container {
width: 150px;
height: 150px;
border: 1px solid #800;
display: inline-block;
max-width: 150px;
max-height: 150px;
overflow: hidden;
}
.board-avatar-container img {
width: 100%;
height: 100%;
object-fit: cover;
}
.board-text {