mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
style(catalog): adjust card size for audios
This commit is contained in:
@@ -48,12 +48,7 @@ const CatalogPost = ({ post }: { post: Comment }) => {
|
||||
displayHeight = `${maxThumbnailSize}px`;
|
||||
}
|
||||
|
||||
if (type === 'audio') {
|
||||
displayWidth = '150px';
|
||||
displayHeight = '75px';
|
||||
}
|
||||
|
||||
if (isDescription || isRules) {
|
||||
if (type === 'audio' || isDescription || isRules) {
|
||||
displayWidth = 'unset';
|
||||
displayHeight = 'unset';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user