Skip to content

Commit

Permalink
Merge pull request #452 from nobkd/fix-tabs
Browse files Browse the repository at this point in the history
docs: fix tabs example, disable pointer on details content
  • Loading branch information
tipiirai authored Jan 27, 2025
2 parents 5ecb5ac + b90c6d4 commit 66c4f8b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
7 changes: 5 additions & 2 deletions packages/nuejs.org/@lib/tabs.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,19 @@
gap: 1.5em;

/* tabs */
details {
border: none;
}

summary {
cursor: pointer;
font-weight: 550;
&::marker { font-size: 0 }
&:hover { color: var(--main-600) }
}

/* tab panes */
div {
inset: 3em 0 0 1.5em;
inset: 5em 0 0 1.5em;
position: absolute;
}

Expand Down
4 changes: 2 additions & 2 deletions packages/nuejs.org/@lib/technical-content.css
Original file line number Diff line number Diff line change
Expand Up @@ -416,9 +416,9 @@ pre {
details {
font-weight: 500;
padding: 1rem 0;
cursor: pointer;


summary {
cursor: pointer;
font-size: 1.1rem;
&::marker { color: var(--main-400) }
}
Expand Down
2 changes: 1 addition & 1 deletion packages/nuejs.org/docs/content-tags.md
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ The CSS below is used to style the above example, transforming the accordion int

/* tab panes */
div {
inset: 3em 0 0 1.5em;
inset: 5em 0 0 1.5em;
position: absolute;
}

Expand Down

0 comments on commit 66c4f8b

Please sign in to comment.