Skip to content

Commit

Permalink
🎨 #304
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 committed Apr 11, 2020
1 parent c6123ec commit 62cfe17
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/assets/scss/_toolbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
border-bottom: 1px solid var(--border-color);
padding: 0 5px;
line-height: 1;
overflow: hidden;

&--pin {
position: sticky;
Expand All @@ -15,10 +14,12 @@
&--hide {
transition: $transition;
height: 5px;
overflow: hidden;

&:hover {
background-color: var(--toolbar-background-color);
height: auto;
overflow: visible;
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/ts/ir/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import {hidePanel} from "../toolbar/setToolbar";
import {uploadFiles} from "../upload";
import {isCtrl, isFirefox} from "../util/compatibility";
import {focusEvent, hotkeyEvent, scrollCenter, selectEvent} from "../util/editorCommonEvent";
Expand All @@ -11,7 +12,6 @@ import {expandMarker} from "./expandMarker";
import {highlightToolbar} from "./highlightToolbar";
import {input} from "./input";
import {processAfterRender, processHint} from "./process";
import {hidePanel} from "../toolbar/setToolbar";

class IR {
public element: HTMLPreElement;
Expand Down
2 changes: 1 addition & 1 deletion src/ts/sv/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import {hidePanel} from "../toolbar/setToolbar";
import {uploadFiles} from "../upload/index";
import {isCtrl} from "../util/compatibility";
import {focusEvent, hotkeyEvent, scrollCenter, selectEvent} from "../util/editorCommonEvent";
Expand All @@ -6,7 +7,6 @@ import {getSelectText} from "./getSelectText";
import {html2md} from "./html2md";
import {inputEvent} from "./inputEvent";
import {insertText} from "./insertText";
import {hidePanel} from "../toolbar/setToolbar";

class Editor {
public element: HTMLPreElement;
Expand Down

0 comments on commit 62cfe17

Please sign in to comment.