Skip to content

Commit eedfbed

Browse files
committed
Rename media library modal class
Replace occurrences of .media-library-browser-modal with .media-library-browser-modal-content to keep the modal wrapper class consistent. Updated the source CSS (resources/css/components/media-library.css), the built CSS (resources/dist/components/media-library.css), and the MediaPicker component (src/MediaLibrary/Forms/Components/MediaPicker.php) to use the new class name so styles apply correctly to the modal.
1 parent 537c89d commit eedfbed

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

resources/css/components/media-library.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,10 +295,10 @@
295295
}
296296

297297
/* Media Library Browser Modal */
298-
.media-library-browser-modal .media-library__content {
298+
.media-library-browser-modal-content .media-library__content {
299299
@apply h-[calc(100vh-16rem)];
300300
}
301-
.media-library-browser-modal .fi-modal-content:has(.media-library) {
301+
.media-library-browser-modal-content .fi-modal-content:has(.media-library) {
302302
@apply !p-0;
303303
}
304304

0 commit comments

Comments
 (0)