File tree 2 files changed +11
-5
lines changed
2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -381,7 +381,7 @@ function playpen_text(playpen) {
381
381
382
382
themePopup . addEventListener ( 'focusout' , function ( e ) {
383
383
// e.relatedTarget is null in Safari and Firefox on macOS (see workaround below)
384
- if ( ! ! e . relatedTarget && ! themePopup . contains ( e . relatedTarget ) ) {
384
+ if ( ! ! e . relatedTarget && ! themeToggleButton . contains ( e . relatedTarget ) && ! themePopup . contains ( e . relatedTarget ) ) {
385
385
hideThemes ( ) ;
386
386
}
387
387
} ) ;
Original file line number Diff line number Diff line change @@ -41,15 +41,15 @@ a > .hljs {
41
41
}
42
42
# menu-bar i , # menu-bar .icon-button {
43
43
position : relative;
44
- margin : 0 8px ;
44
+ padding : 0 8px ;
45
45
z-index : 10 ;
46
46
line-height : 50px ;
47
47
cursor : pointer;
48
48
transition : color 0.5s ;
49
49
}
50
50
@media only screen and (max-width : 420px ) {
51
51
# menu-bar i , # menu-bar .icon-button {
52
- margin : 0 5px ;
52
+ padding : 0 5px ;
53
53
}
54
54
}
55
55
@@ -71,8 +71,13 @@ html:not(.sidebar-visible) #menu-bar:not(:hover).folded > #menu-bar-sticky-conta
71
71
transform : translateY (-60px );
72
72
}
73
73
74
- .left-buttons { margin : 0 5px ; }
75
- .no-js .left-buttons { display : none; }
74
+ .left-buttons {
75
+ display : flex;
76
+ margin : 0 5px ;
77
+ }
78
+ .no-js .left-buttons {
79
+ display : none;
80
+ }
76
81
77
82
.menu-title {
78
83
display : inline-block;
@@ -374,6 +379,7 @@ a:hover {
374
379
.theme-popup {
375
380
position : absolute;
376
381
left : 10px ;
382
+ top : 50px ;
377
383
z-index : 1000 ;
378
384
border-radius : 4px ;
379
385
font-size : 0.7em ;
You can’t perform that action at this time.
0 commit comments