fix: prevent input field overflow on mobile by ensuring equal margins
All checks were successful
CI / update (push) Successful in 1m10s
All checks were successful
CI / update (push) Successful in 1m10s
Adds box-sizing: border-box to all filter inputs after 'all: unset' to ensure padding is included within the 100% width calculation, preventing horizontal overflow and ensuring equal left/right margins on small screens.
This commit is contained in:
@@ -102,6 +102,7 @@
|
|||||||
|
|
||||||
input {
|
input {
|
||||||
all: unset;
|
all: unset;
|
||||||
|
box-sizing: border-box;
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
background: var(--nord0);
|
background: var(--nord0);
|
||||||
color: var(--nord6);
|
color: var(--nord6);
|
||||||
|
|||||||
@@ -93,6 +93,7 @@
|
|||||||
|
|
||||||
input {
|
input {
|
||||||
all: unset;
|
all: unset;
|
||||||
|
box-sizing: border-box;
|
||||||
font-family: "Noto Color Emoji", emoji, sans-serif;
|
font-family: "Noto Color Emoji", emoji, sans-serif;
|
||||||
background: var(--nord0);
|
background: var(--nord0);
|
||||||
color: var(--nord6);
|
color: var(--nord6);
|
||||||
|
|||||||
@@ -265,6 +265,7 @@
|
|||||||
<style>
|
<style>
|
||||||
input#search {
|
input#search {
|
||||||
all: unset;
|
all: unset;
|
||||||
|
box-sizing: border-box;
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
background: var(--nord0);
|
background: var(--nord0);
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
|||||||
@@ -114,6 +114,7 @@
|
|||||||
|
|
||||||
input {
|
input {
|
||||||
all: unset;
|
all: unset;
|
||||||
|
box-sizing: border-box;
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
background: var(--nord0);
|
background: var(--nord0);
|
||||||
color: var(--nord6);
|
color: var(--nord6);
|
||||||
|
|||||||
@@ -111,6 +111,7 @@
|
|||||||
|
|
||||||
input {
|
input {
|
||||||
all: unset;
|
all: unset;
|
||||||
|
box-sizing: border-box;
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
background: var(--nord0);
|
background: var(--nord0);
|
||||||
color: var(--nord6);
|
color: var(--nord6);
|
||||||
|
|||||||
Reference in New Issue
Block a user