mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
add offline indicator in popular boards section
This commit is contained in:
@@ -230,14 +230,29 @@ export const BoardsContent = styled.div`
|
||||
border: 1px solid #800;
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.board-avatar-container img {
|
||||
|
||||
.board-avatar-container img.board-avatar {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.board-avatar-container img.offline {
|
||||
filter: brightness(50%);
|
||||
}
|
||||
|
||||
.offline-indicator {
|
||||
position: absolute;
|
||||
top: calc(50% - 10px);
|
||||
left: 0;
|
||||
width: 100%;
|
||||
object-fit: cover;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.board-text {
|
||||
margin-bottom: 5px;
|
||||
padding: 0 2px;
|
||||
|
||||
Reference in New Issue
Block a user