Skip to content

Commit

Permalink
Make diagrams clickable (yugabyte#16437)
Browse files Browse the repository at this point in the history
  • Loading branch information
samiahmedsiddiqui authored Mar 15, 2023
1 parent 287afc6 commit 376740b
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion docs/assets/scss/_yb_image.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,25 @@
display: inline-block;
position: relative;

img {
margin: 0 !important;
}

map {
position: absolute;
inset: 0;

.td-content p > code area {
@-moz-document url-prefix() {
position: static;
}

area {
position: absolute;
display: block;

@-moz-document url-prefix() {
position: static;
}
}
}
}
Expand Down

0 comments on commit 376740b

Please sign in to comment.