Skip to content

Commit 7548466

Browse files
committed
update media modal toolbar CSS styles
1 parent 6ac3a91 commit 7548466

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

‎src/wp-includes/css/media-views.css‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1263,6 +1263,14 @@ select#media-attachment-filters ~ select#media-attachment-date-filters {
12631263
padding: 12px 16px;
12641264
}
12651265

1266+
.media-modal .attachments-browser .media-toolbar {
1267+
height: 60px;
1268+
}
1269+
1270+
.media-modal .attachments-browser .media-toolbar-secondary {
1271+
grid-template-rows: min-content min-content;
1272+
}
1273+
12661274
.attachments-browser.hide-sidebar .media-toolbar {
12671275
right: 0;
12681276
}
@@ -1294,6 +1302,12 @@ select#media-attachment-filters ~ select#media-attachment-date-filters {
12941302
display: none;
12951303
}
12961304

1305+
.media-modal .attachments-browser:not(.has-load-more) .attachments,
1306+
.media-modal .attachments-browser.has-load-more .attachments-wrapper,
1307+
.media-modal .attachments-browser .uploader-inline {
1308+
top: 84px;
1309+
}
1310+
12971311
.attachments-browser .media-toolbar-primary {
12981312
max-width: calc(33% - 20px);
12991313
}
@@ -2652,13 +2666,23 @@ select#media-attachment-filters ~ select#media-attachment-date-filters {
26522666
height: 117px;
26532667
}
26542668

2669+
.media-modal .attachments-browser .media-toolbar {
2670+
height: 136px;
2671+
}
2672+
26552673
.attachments-browser .attachments,
26562674
.attachments-browser:not(.has-load-more) .attachments,
26572675
.attachments-browser .uploader-inline,
26582676
.media-frame-content .attachments-browser .attachments-wrapper {
26592677
top: 131px;
26602678
}
26612679

2680+
.media-modal .attachments-browser:not(.has-load-more) .attachments,
2681+
.media-modal .attachments-browser.has-load-more .attachments-wrapper,
2682+
.media-modal .attachments-browser .uploader-inline {
2683+
top: 160px;
2684+
}
2685+
26622686
.media-sidebar .setting,
26632687
.attachment-details .setting {
26642688
margin: 6px 0;

0 commit comments

Comments
 (0)