mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
show reset icon with zoom percentage during zen mode (#1540)
This commit is contained in:
parent
3b1d6910aa
commit
5b80ad045b
5 changed files with 35 additions and 19 deletions
|
@ -267,6 +267,12 @@ button,
|
|||
cursor: default;
|
||||
pointer-events: none !important;
|
||||
|
||||
&--transition-left {
|
||||
section {
|
||||
width: 185px;
|
||||
}
|
||||
}
|
||||
|
||||
section {
|
||||
display: flex;
|
||||
}
|
||||
|
@ -458,3 +464,23 @@ button,
|
|||
left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.zen-mode-visibility {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
height: auto;
|
||||
width: auto;
|
||||
transition: opacity 0.5s;
|
||||
|
||||
&.zen-mode-visibility--hidden {
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
height: 0;
|
||||
width: 0;
|
||||
transition: opacity 0.5s;
|
||||
}
|
||||
}
|
||||
|
||||
.disable-pointerEvents {
|
||||
pointer-events: none !important;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue