Skip to content

Commit 7c5993a

Browse files
authored
fix: modal and drawer input outline (#79)
1 parent b4d9d31 commit 7c5993a

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/components/drawer/index.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@
114114
flex-grow: 1;
115115
overflow-y: auto;
116116
height: 0;
117+
margin: calc(var(--jdd-accessibility-outline-width) * -1);
118+
padding: var(--jdd-accessibility-outline-width);
117119
}
118120
}
119121
}

src/components/modal/index.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,14 @@
5656
flex-direction: column;
5757
flex-shrink: 1;
5858
overflow: hidden;
59+
margin: calc(var(--jdd-accessibility-outline-width) * -1);
60+
padding: var(--jdd-accessibility-outline-width);
5961

6062
.modal-description-content {
6163
flex-shrink: 1;
6264
overflow-y: auto;
65+
margin: calc(var(--jdd-accessibility-outline-width) * -1);
66+
padding: var(--jdd-accessibility-outline-width);
6367
}
6468
}
6569

0 commit comments

Comments
 (0)