mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix square shape of board avatars
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user