Skip to content

Commit

Permalink
fix details css
Browse files Browse the repository at this point in the history
  • Loading branch information
takemar committed Oct 26, 2023
1 parent 949173c commit 3a7ebda
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions src/styles/components/details.scss
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
li > ul + details, li > ol + details {
@media not all and (max-width: 640px) {
margin-inline-start: 20px;
}
&>div.help-details-content {
padding-inline-start: 20px;
}
}

details > div {
padding-inline-start: 20px;
}

summary {
cursor: pointer;
color: $link-color;
&:hover {
text-decoration: underline;
}
}

li > ul ~ details, li > ol ~ details {
margin-left: 40px;
&>summary {
margin-left: -20px;
}
@media (max-width: 640px) {
margin-left: 20px;
}
}

0 comments on commit 3a7ebda

Please sign in to comment.