Skip to content

Commit

Permalink
[BUGFIX] expand link of textpic element (#350)
Browse files Browse the repository at this point in the history
Expand the link of textpic element linked images to the same size as the image.
This is necessary to make the focus area visible
  • Loading branch information
hputzek authored and MattiasNilsson committed Nov 15, 2017
1 parent 8516367 commit af0df2b
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
// ======== Additional styling for Fluid Styled Content extension ====
// ==================================================================

// Make link expand to same size as image to make focus visible on linked images
.ce-textpic .image a {
display: inline-block;
}

.ce-gallery img {
display: block;
height: auto;
Expand Down

0 comments on commit af0df2b

Please sign in to comment.