Skip to content

Commit

Permalink
Be better at alignment/transforms/positioning/display on navis slides…
Browse files Browse the repository at this point in the history
…hows in image blocks

Implements #1664 (comment)
  • Loading branch information
benlk committed Apr 25, 2019
1 parent 395412d commit 9131ad8
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 5 deletions.
3 changes: 1 addition & 2 deletions css/style.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/style.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion less/inc/header.less
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
position: relative;
height: 38px;
overflow:visible;
z-index: 1030;

ul {
margin: 0;
list-style:none;
Expand Down
14 changes: 13 additions & 1 deletion lib/navis-slideshows/css/slides.css
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,19 @@ body.single-format-standard .navis-slideshow a.slick-next {
overflow:visible;
background-color: #000;
display: block;
}
transform: none;
}
/* Gutenberg styles; https:/INN/largo/issues/1664 */
.navis-slideshow.navis-full.alignleft,
.navis-slideshow.navis-full.aligncenter,
.navis-slideshow.navis-full.alignright,
.navis-slideshow.navis-full.alignwide,
.navis-slideshow.navis-full.alignfull,
.navis-slideshow.navis-full.alignnone {
display: block;
}
.wp-block-image.navis-slideshow.navis-full figcaption,
.wp-block-image .navis-slideshow.navis-full figcaption, /* yes, with and without space */
.navis-slideshow.navis-full .permalink {
display: none;
}
Expand Down

0 comments on commit 9131ad8

Please sign in to comment.