Skip to content

Commit b95206d

Browse files
Merge pull request #13 from bitfocusas/chore/update-borders
Refactor input field styles to remove borders and manage focus state …
2 parents ea49a61 + 873910e commit b95206d

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

packages/experience/src/Providers/AppBoundary/bitfocus-custom-styles.css

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
font-size: 1.125rem; /* text-lg */
125125
font-weight: 400;
126126
color: #d4d4d8; /* text-neutral-300 */
127-
border: 1px solid #404040; /* subtle border */
127+
border: none; /* Remove border - NotchedBorder component handles this */
128128
border-radius: 4px; /* rounded-sm */
129129
padding: 4px 16px;
130130
width: 100%;
@@ -135,8 +135,11 @@
135135
#app form div[class*='inputField'] input:focus,
136136
#app form div[class*='inputField'] div[class$='countryCodeSelector']:focus {
137137
outline: none;
138-
border-color: #3b82f6; /* focus ring color */
139-
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
138+
}
139+
140+
/* Hide the purple outline to prevent double border on focus */
141+
#app form div[class*='inputField'] ~ div fieldset[class*='outline'] {
142+
display: none !important;
140143
}
141144

142145
/* Placeholder styling */

0 commit comments

Comments
 (0)