Skip to content

Commit

Permalink
add outline offset
Browse files Browse the repository at this point in the history
  • Loading branch information
0xMakka committed Nov 22, 2023
1 parent c4c7946 commit 558e5fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ export const modalContent = (
border: 0.4rem solid transparent;
border-radius: 0.8rem;
background-clip: padding-box;
outline-offset: -1px;
}
&::-webkit-scrollbar {
Expand Down
3 changes: 2 additions & 1 deletion carbonmark/components/shared/Modal/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,10 @@ export const modalContent = css`
border: 0.4rem solid transparent;
border-radius: 0.8rem;
background-clip: padding-box;
outline-offset: -1px;
}
&::-webkit-scrollbar {
display: none;
width: 1.6rem;
}
`;

0 comments on commit 558e5fa

Please sign in to comment.