Skip to content

Commit

Permalink
Merge remote-tracking branch 'utelecon/202310-details-css'
Browse files Browse the repository at this point in the history
  • Loading branch information
takemar committed Oct 23, 2023
2 parents 0b04008 + cae9d59 commit c142543
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 20 deletions.
12 changes: 0 additions & 12 deletions src/components/utils/Help.astro
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,3 @@ const summary = {
<Support lang={lang} show={support} inHelp />
</div>
</details>

<style>
@media not all and (max-width: 640px) {
details {
margin-inline-start: 20px;
}
}

details > div {
padding-inline-start: 20px;
}
</style>
20 changes: 20 additions & 0 deletions src/styles/components/details.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
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;
}
}
7 changes: 0 additions & 7 deletions src/styles/components/summary.scss

This file was deleted.

2 changes: 1 addition & 1 deletion src/styles/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
@import "components/link";
@import "components/lists";
@import "components/mfa";
@import "components/summary";
@import "components/details";
@import "components/table";
@import "components/top";
@import "components/utils";
Expand Down

0 comments on commit c142543

Please sign in to comment.