Skip to content

armgit / mimik

Public Imported from GitHub
0

🎬 A browser extension and desktop app that turns your clicks into step-by-step guides with annotated screenshots πŸ“–

fix(desktop): drop the native spinners from settings number fields

Luis Ortizf0e5acb8d060
diff --git a/apps/desktop/src/renderer/styles.css b/apps/desktop/src/renderer/styles.css
index d5e3105..3c30c0a 100644
--- a/apps/desktop/src/renderer/styles.css
+++ b/apps/desktop/src/renderer/styles.css
@@ -2,3 +2,13 @@
@source "../../../../packages/ui/src";
@source ".";
+
+input[type='number'] {
+ appearance: textfield;
+}
+
+input[type='number']::-webkit-outer-spin-button,
+input[type='number']::-webkit-inner-spin-button {
+ appearance: none;
+ margin: 0;
+}