fix: update media card positioning and styles
Deploy Development / deploy (push) Successful in 34s
Test Suite / pytest-backend (push) Successful in 28s
Test Suite / lint-backend (push) Successful in 1s
Test Suite / build-frontend (push) Successful in 7s
Test Suite / playwright-tests (push) Successful in 24s
Deploy Development / deploy (push) Successful in 34s
Test Suite / pytest-backend (push) Successful in 28s
Test Suite / lint-backend (push) Successful in 1s
Test Suite / build-frontend (push) Successful in 7s
Test Suite / playwright-tests (push) Successful in 24s
- Removed unnecessary positioning styles from media library card types. - Added a new style for the thumbnail card type to adjust its position. - Updated the MediaLibraryPage component to apply the new thumbnail style conditionally based on the compact view.
This commit is contained in:
1 parent
f9e6e61244
commit
d213746bd2
2 files changed
+8
-3
No files matched your search
@@ -217,7 +217,7 @@ function MediaTypeGlyph({ mimeType, compact }) {
|
||||
const sz = compact ? 12 : 14
|
||||
return (
|
||||
<span
|
||||
className={`media-library__card-type${compact ? ' media-library__card-type--compact' : ''}`}
|
||||
className={`media-library__card-type${compact ? ' media-library__card-type--compact' : ' media-library__card-type--thumb-bl'}`}
|
||||
title={label}
|
||||
aria-label={`Medientyp: ${label}`}
|
||||
>
|
||||
|
||||
Reference in new issue
Block a user