Browse Source

Merge pull request #156 from KsavinN/hoverIssue

resolve hover issue and aligment of gutter
Jeremy Tuloup 5 years ago
parent
commit
4aa28646bb
1 changed files with 3 additions and 2 deletions
  1. 3 2
      style/breakpoints.css

+ 3 - 2
style/breakpoints.css

@@ -9,7 +9,7 @@
 
 
 .jp-breakpoint-marker {
 .jp-breakpoint-marker {
   position: absolute;
   position: absolute;
-  left: -35px;
+  left: -34px;
   top: -1px;
   top: -1px;
   color: var(--jp-error-color1);
   color: var(--jp-error-color1);
 }
 }
@@ -27,6 +27,7 @@
   top: -1px;
   top: -1px;
 }
 }
 
 
-.CodeMirror-gutter-wrapper:hover::after {
+.jp-CodeCell.jp-mod-selected .CodeMirror-gutter-wrapper:hover::after,
+.jp-Editor.jp-mod-focused .CodeMirror-gutter-wrapper:hover::after {
   opacity: 0.5;
   opacity: 0.5;
 }
 }