From 0f6d9ad6cdd7b2bfbc718f5c44ae96f99782758d Mon Sep 17 00:00:00 2001 From: navaneethsnair1 Date: Tue, 12 Nov 2024 14:14:09 +0530 Subject: [PATCH] singlepane update --- src/main/content/_assets/css/guide-common.scss | 16 ---------------- .../content/_assets/css/guide-multipane.scss | 9 --------- src/main/content/_assets/js/guide-common.js | 1 - 3 files changed, 26 deletions(-) diff --git a/src/main/content/_assets/css/guide-common.scss b/src/main/content/_assets/css/guide-common.scss index f5ea267e97..d1af84a2d8 100644 --- a/src/main/content/_assets/css/guide-common.scss +++ b/src/main/content/_assets/css/guide-common.scss @@ -512,14 +512,6 @@ #guide_content .code_command > .code_block_wrapper:before { display: none; } - - .view_code{ - display: block; - } - - .code_command pre{ - cursor:text; - } } @media (min-width: 1170px) { @@ -527,14 +519,6 @@ background-image: inherit; margin-bottom: 0; } - - .view_code{ - display: none; - } - - .code_command pre{ - cursor:pointer; - } } @media (min-width: 1440px) { diff --git a/src/main/content/_assets/css/guide-multipane.scss b/src/main/content/_assets/css/guide-multipane.scss index 230bfe2e6a..75e53bda2b 100644 --- a/src/main/content/_assets/css/guide-multipane.scss +++ b/src/main/content/_assets/css/guide-multipane.scss @@ -324,15 +324,6 @@ body { } } -@media (max-width: 1169.98px){ - .copyFileButton{ - right: 40px; - &:hover { - right: 39px; - } - } -} - .CodeRay .line-numbers { display: inline-block; visibility: hidden; diff --git a/src/main/content/_assets/js/guide-common.js b/src/main/content/_assets/js/guide-common.js index 6e24052733..594a3f37c3 100644 --- a/src/main/content/_assets/js/guide-common.js +++ b/src/main/content/_assets/js/guide-common.js @@ -488,7 +488,6 @@ $(document).ready(function () { }); $(window).on("resize", function () { - (inSingleColumnView()) ? $(".code_command").removeClass("hotspot") : $(".code_command").addClass("hotspot"); if (!inSingleColumnView()){ $("#code_column").css("top", "0px"); }