Fix sticky note resizing

This commit is contained in:
Idrees Hassan
2025-08-16 18:27:03 -04:00
parent 9fca974233
commit b10cc684b9
5 changed files with 11 additions and 11 deletions

View File

@@ -835,7 +835,7 @@ Promise.all([loadSpriteSheetPixels(SPRITE_SHEET), loadSpriteSheetPixels(DECORATI
clearTimeout(saveTimeout); clearTimeout(saveTimeout);
saveTimeout = setTimeout(() => { saveTimeout = setTimeout(() => {
save(); save();
}, 500); }, 250);
}); });
} }

View File

@@ -24,7 +24,7 @@ const userScriptHeader =
`// ==UserScript== `// ==UserScript==
// @name Browser Bird // @name Browser Bird
// @namespace https://idreesinc.com // @namespace https://idreesinc.com
// @version 2025-08-16-2 // @version 2025-08-16-3
// @description birb // @description birb
// @author Idrees // @author Idrees
// @downloadURL https://github.com/IdreesInc/Browser-Bird/raw/refs/heads/main/dist/birb.user.js // @downloadURL https://github.com/IdreesInc/Browser-Bird/raw/refs/heads/main/dist/birb.user.js

6
dist/birb.js vendored
View File

@@ -348,8 +348,8 @@ const STYLESHEET = `@font-face {
} }
.birb-sticky-note-input { .birb-sticky-note-input {
width: 100% !important; width: 100%;
height: 100% !important; height: 100%;
padding: 10px !important; padding: 10px !important;
resize: both !important; resize: both !important;
min-width: 100% !important; min-width: 100% !important;
@@ -1153,7 +1153,7 @@ Promise.all([loadSpriteSheetPixels(SPRITE_SHEET), loadSpriteSheetPixels(DECORATI
clearTimeout(saveTimeout); clearTimeout(saveTimeout);
saveTimeout = setTimeout(() => { saveTimeout = setTimeout(() => {
save(); save();
}, 500); }, 250);
}); });
} }

8
dist/birb.user.js vendored
View File

@@ -1,7 +1,7 @@
// ==UserScript== // ==UserScript==
// @name Browser Bird // @name Browser Bird
// @namespace https://idreesinc.com // @namespace https://idreesinc.com
// @version 2025-08-16-2 // @version 2025-08-16-3
// @description birb // @description birb
// @author Idrees // @author Idrees
// @downloadURL https://github.com/IdreesInc/Browser-Bird/raw/refs/heads/main/dist/birb.user.js // @downloadURL https://github.com/IdreesInc/Browser-Bird/raw/refs/heads/main/dist/birb.user.js
@@ -362,8 +362,8 @@ const STYLESHEET = `@font-face {
} }
.birb-sticky-note-input { .birb-sticky-note-input {
width: 100% !important; width: 100%;
height: 100% !important; height: 100%;
padding: 10px !important; padding: 10px !important;
resize: both !important; resize: both !important;
min-width: 100% !important; min-width: 100% !important;
@@ -1167,7 +1167,7 @@ Promise.all([loadSpriteSheetPixels(SPRITE_SHEET), loadSpriteSheetPixels(DECORATI
clearTimeout(saveTimeout); clearTimeout(saveTimeout);
saveTimeout = setTimeout(() => { saveTimeout = setTimeout(() => {
save(); save();
}, 500); }, 250);
}); });
} }

View File

@@ -300,8 +300,8 @@
} }
.birb-sticky-note-input { .birb-sticky-note-input {
width: 100% !important; width: 100%;
height: 100% !important; height: 100%;
padding: 10px !important; padding: 10px !important;
resize: both !important; resize: both !important;
min-width: 100% !important; min-width: 100% !important;