Skip to content

Commit d82984b

Browse files
committed
fix outline
1 parent 599f5ea commit d82984b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

packages/feedback/src/widget/Dialog.css.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ export function createDialogStyles(d: Document): HTMLStyleElement {
3838
top: var(--top);
3939
4040
border: var(--border);
41-
padding: 24px;
4241
border-radius: 20px;
4342
background-color: var(--background);
4443
color: var(--foreground);
@@ -61,7 +60,7 @@ export function createDialogStyles(d: Document): HTMLStyleElement {
6160
justify-content: space-between;
6261
font-size: 20px;
6362
font-weight: 600;
64-
padding: 0;
63+
padding: 24px 24px 0 24px;
6564
margin: 0;
6665
margin-bottom: 16px;
6766
}
@@ -76,7 +75,7 @@ export function createDialogStyles(d: Document): HTMLStyleElement {
7675
overflow: auto;
7776
flex-direction: column;
7877
gap: 16px;
79-
padding: 0;
78+
padding: 0 24px 24px;
8079
}
8180
8281
.form__error-container {
@@ -118,8 +117,10 @@ export function createDialogStyles(d: Document): HTMLStyleElement {
118117
font-weight: 500;
119118
padding: 6px 12px;
120119
}
120+
121121
.form__input:focus {
122-
border-color: var(--input-border-focus);
122+
outline: 1px solid transparent;
123+
outline-color: var(--input-border-focus);
123124
}
124125
125126
.form__input--textarea {

0 commit comments

Comments
 (0)