mirror of
https://github.com/NohamR/Pocket-Bird.git
synced 2026-05-24 19:59:36 +00:00
Make CSS transforms important
This commit is contained in:
8
dist/birb.js
vendored
8
dist/birb.js
vendored
@@ -65,7 +65,7 @@ const STYLESHEET = `:root {
|
||||
image-rendering: pixelated;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
transform: scale(var(--birb-scale));
|
||||
transform: scale(var(--birb-scale)) !important;
|
||||
transform-origin: bottom;
|
||||
z-index: 2147483638 !important;
|
||||
cursor: pointer;
|
||||
@@ -75,7 +75,7 @@ const STYLESHEET = `:root {
|
||||
image-rendering: pixelated;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
transform: scale(var(--birb-scale));
|
||||
transform: scale(var(--birb-scale)) !important;
|
||||
transform-origin: bottom;
|
||||
z-index: 2147483630 !important;
|
||||
}
|
||||
@@ -105,7 +105,7 @@ const STYLESHEET = `:root {
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
transform: scale(var(--ui-scale));
|
||||
transform: scale(var(--ui-scale)) !important;
|
||||
animation: pop-in 0.08s;
|
||||
transition-timing-function: ease-in;
|
||||
}
|
||||
@@ -1124,7 +1124,7 @@ Promise.all([loadSpriteSheetPixels(SPRITE_SHEET), loadSpriteSheetPixels(DECORATI
|
||||
<div class="birb-window-close">x</div>
|
||||
</div>
|
||||
<div class="birb-window-content">
|
||||
<textarea class="birb-sticky-note-input" style="width: 150px;" placeholder="Write your notes here and they'll stick to the page...">${stickyNote.content}</textarea>
|
||||
<textarea class="birb-sticky-note-input" style="width: 150px;" placeholder="Write your notes here and they'll stick to the page!">${stickyNote.content}</textarea>
|
||||
</div>`
|
||||
const noteElement = makeElement("birb-window");
|
||||
noteElement.classList.add("birb-sticky-note");
|
||||
|
||||
Reference in New Issue
Block a user