Skip to content

Commit

Permalink
feat(md-enhance): improve detail style
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed May 16, 2022
1 parent 4385c22 commit c08cfdd
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions packages/md-enhance/src/client/styles/container/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@
display: block;

margin: 1.6em 0;
padding: 1.6em;
padding: 1.5rem;
border-radius: 0.5rem;

background: var(--detail-bg-color);
Expand All @@ -233,14 +233,19 @@

summary {
position: relative;
padding-left: 1.5rem;

padding-left: 2.5rem;

outline: none;
list-style: none;

cursor: pointer;

// a deprecated prefix
&::-webkit-details-marker,
&::marker {
display: none;
color: transparent;
font-size: 0;
}

&::before,
Expand Down

0 comments on commit c08cfdd

Please sign in to comment.