Switch from display to visibility

Helps with the preview snapping into view
master
MMaker 2023-02-02 23:08:56 -05:00
parent 960587a813
commit 62d67a0ccf
Signed by: mmaker
GPG Key ID: CCE79B8FEDA40FB2
2 changed files with 3 additions and 3 deletions

View File

@ -113,11 +113,11 @@ const addNetAPI = async () => {
}
show() {
this.tooltip.style.display = 'block';
this.tooltip.style.visibility = 'visible';
}
hide() {
this.tooltip.style.display = 'none';
this.tooltip.style.visibility = 'hidden';
}
}

View File

@ -1,7 +1,7 @@
#addnet_api_tooltip {
font-family: Source Sans Pro,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";
position: fixed;
display: none;
visibility: hidden;
background: rgba(0,0,0,0.9);
border: 1px solid white;
padding: 0.5em;