From 3543ed957c24e1a70217bf40efeebc8cb5586d5b Mon Sep 17 00:00:00 2001 From: amhsirak Date: Tue, 4 Mar 2025 02:23:07 +0530 Subject: [PATCH 1/4] fix: remove blue auto highlight in text fields --- src/index.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/index.css b/src/index.css index 252b737a..194ae0bb 100644 --- a/src/index.css +++ b/src/index.css @@ -14,6 +14,19 @@ body { } +input:-webkit-autofill, +input:-webkit-autofill:hover, +input:-webkit-autofill:focus, +textarea:-webkit-autofill, +textarea:-webkit-autofill:hover, +textarea:-webkit-autofill:focus, +select:-webkit-autofill, +select:-webkit-autofill:hover, +select:-webkit-autofill:focus { + -webkit-box-shadow: 0 0 0 1000px transparent inset !important; + transition: background-color 5000s ease-in-out 0s !important; +} + html { width: 100%; height: 100%; From 485e67f183fc1c8b776cb491e69db4717256c0dc Mon Sep 17 00:00:00 2001 From: amhsirak Date: Tue, 4 Mar 2025 02:23:26 +0530 Subject: [PATCH 2/4] fix: format --- src/index.css | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src/index.css b/src/index.css index 194ae0bb..05052000 100644 --- a/src/index.css +++ b/src/index.css @@ -11,7 +11,7 @@ body { padding: 0; scrollbar-gutter: stable; overflow-y: auto; - + } input:-webkit-autofill, @@ -35,6 +35,7 @@ html { a { color: #ff00c3; + &:hover { color: #ff00c3; } @@ -42,7 +43,7 @@ a { code { font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', - monospace; + monospace; color: #ff00c3; } @@ -57,7 +58,7 @@ code { align-items: center; overflow: hidden; position: relative; - + } #browser-content { @@ -65,14 +66,14 @@ code { width: 100%; display: flex; flex-direction: column; - transform: scale(1); /* Ensure no scaling */ - transform-origin: top left; /* Keep the position fixed */ + transform: scale(1); + /* Ensure no scaling */ + transform-origin: top left; + /* Keep the position fixed */ } -#browser { - -} +#browser {} #browser-window { overflow-y: auto; @@ -176,4 +177,4 @@ code { height: calc(100vh - 2rem); margin: 1rem 55rem; } -} +} \ No newline at end of file From b81491130c27dba4bc01a956a65c366580952d19 Mon Sep 17 00:00:00 2001 From: amhsirak Date: Tue, 4 Mar 2025 02:23:42 +0530 Subject: [PATCH 3/4] chore: cleanup usused class --- src/index.css | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/index.css b/src/index.css index 05052000..70cfbff1 100644 --- a/src/index.css +++ b/src/index.css @@ -72,9 +72,6 @@ code { /* Keep the position fixed */ } - -#browser {} - #browser-window { overflow-y: auto; height: 100%; From 0f59d59ef5a1d5f207ed747fe2de90ca6ace523d Mon Sep 17 00:00:00 2001 From: amhsirak Date: Tue, 4 Mar 2025 02:24:18 +0530 Subject: [PATCH 4/4] fix: whitespace --- src/index.css | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/index.css b/src/index.css index 70cfbff1..e63d18f7 100644 --- a/src/index.css +++ b/src/index.css @@ -11,7 +11,6 @@ body { padding: 0; scrollbar-gutter: stable; overflow-y: auto; - } input:-webkit-autofill, @@ -58,7 +57,6 @@ code { align-items: center; overflow: hidden; position: relative; - } #browser-content {