From 376740b319ca164d4843e977e45b75c0dc482220 Mon Sep 17 00:00:00 2001 From: Sami Ahmed Siddiqui Date: Wed, 15 Mar 2023 20:45:12 +0500 Subject: [PATCH] Make diagrams clickable (#16437) --- docs/assets/scss/_yb_image.scss | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/assets/scss/_yb_image.scss b/docs/assets/scss/_yb_image.scss index 2de6c94b056f..c0f3c559df8f 100644 --- a/docs/assets/scss/_yb_image.scss +++ b/docs/assets/scss/_yb_image.scss @@ -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; + } } } }