Skip to content

Commit

Permalink
upd: update styles of detail container
Browse files Browse the repository at this point in the history
  • Loading branch information
purocean committed Apr 1, 2022
1 parent 99f7d41 commit ec99005
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/renderer/plugins/markdown-container.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,19 @@ export default {
padding: 16px 20px;
}
.markdown-view .markdown-body .custom-container.details > summary {
margin-top: 0;
}
.markdown-view .markdown-body .custom-container.details > summary + *,
.markdown-view .markdown-body .custom-container.details > :first-child:not(summary) {
margin-top: 16px;
}
.markdown-view .markdown-body .custom-container.details > :last-child:not(summary) {
margin-bottom: 0;
}
.markdown-view .markdown-body .custom-container.group {
position: relative;
display: flex;
Expand Down

0 comments on commit ec99005

Please sign in to comment.