mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
style(catalog row): adjust sizing of media wrappers
This commit is contained in:
@@ -18,16 +18,14 @@
|
||||
|
||||
.mediaPaddingWrapper {
|
||||
padding-bottom: 5px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
display: inline-flex;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.threadIcons {
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
right: 16px;
|
||||
right: 2px;
|
||||
}
|
||||
|
||||
.threadIcons span {
|
||||
@@ -52,17 +50,15 @@
|
||||
background-color: var(--media-thumbnail-background-color);
|
||||
width: var(--width);
|
||||
height: var(--height);
|
||||
max-width: 150px;
|
||||
max-height: 150px;
|
||||
display: inline-flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.post img, .post video, .post audio {
|
||||
box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
min-width: 50px;
|
||||
min-height: 50px;
|
||||
object-fit: contain;
|
||||
max-width: 150px;
|
||||
max-height: 150px;
|
||||
}
|
||||
|
||||
.meta {
|
||||
|
||||
Reference in New Issue
Block a user