Skip to content

Commit

Permalink
updated styles for disclosure
Browse files Browse the repository at this point in the history
  • Loading branch information
NidhiKJha committed Mar 6, 2023
1 parent 3fa89f0 commit 50cbf8a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 1 addition & 0 deletions ui/components/ui/disclosure/disclosure.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ const Disclosure = ({ children, title, size }) => {
className="disclosure__summary--icon"
name={ICON_NAMES.ADD}
size={Size.SM}
marginInlineEnd={3}
/>
{title}
</summary>
Expand Down
6 changes: 0 additions & 6 deletions ui/components/ui/disclosure/disclosure.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,10 @@

&__summary {
position: relative;
padding-left: 24px;
padding-bottom: 10px;
font-weight: bold;
display: flex;

&--icon {
margin-inline-start: -20px;
margin-inline-end: 10px;
}

&::-webkit-details-marker,
&::marker {
display: none;
Expand Down

0 comments on commit 50cbf8a

Please sign in to comment.