Skip to content

Commit

Permalink
Merge branch 'develop' into feature/image-details
Browse files Browse the repository at this point in the history
  • Loading branch information
ravichdev committed Jun 11, 2020
2 parents 1190bfb + 77b85ad commit 74ad548
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion assets/src/media-selector/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
position: absolute !important;
height: auto !important;
top: 100px;
right: 310px;
right: 300px;
left: 20px;
padding: 0;
}
Expand All @@ -99,6 +99,25 @@
margin-right: 8px;
}

.media-frame-content[data-columns="2"] .unsplash-attachment:nth-child(odd) .thumbnail,
.media-frame-content[data-columns="3"] .unsplash-attachment:nth-child(3n+1) .thumbnail,
.media-frame-content[data-columns="1"] .unsplash-attachment .thumbnail {

/* offset the first image in each row to ensure focus/active state has space */
margin-left: 3px;
}

.media-frame-content[data-columns="3"] .unsplash-attachment:nth-child(1) .thumbnail,
.media-frame-content[data-columns="3"] .unsplash-attachment:nth-child(2) .thumbnail,
.media-frame-content[data-columns="3"] .unsplash-attachment:nth-child(3) .thumbnail,
.media-frame-content[data-columns="2"] .unsplash-attachment:nth-child(1) .thumbnail,
.media-frame-content[data-columns="2"] .unsplash-attachment:nth-child(2) .thumbnail,
.media-frame-content[data-columns="1"] .unsplash-attachment:nth-child(1) .thumbnail {

/* offset the images in the first row to ensure focus/active state has space */
margin-top: 3px;
}

@media only screen and (max-width: 900px) {

.media-frame .unsplash-browser .unsplash-error {
Expand Down

0 comments on commit 74ad548

Please sign in to comment.