Skip to content

Commit

Permalink
docs: code tabs in webkit (#2159)
Browse files Browse the repository at this point in the history
* docs: code tabs in webkit

Closes #1993

* fix(tabs): active on first render

* Revert "fix(tabs): active on first render"

This reverts commit 36b9051.
  • Loading branch information
bennypowers authored Feb 12, 2025
1 parent e1e325a commit 100b781
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion docs/patterns/tabs/patterns/code-tabs.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
border: var(--rh-border-width-sm) solid var(--rh-color-border-subtle);
border-radius: var(--rh-border-radius-default);
max-width: 56rem; /* warning: magic number */
overflow: hidden;

& rh-tab-panel {
padding: 0;
Expand Down
3 changes: 1 addition & 2 deletions uxdot/uxdot-pattern.css
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,9 @@ h3,
gap: var(--rh-space-lg, 16px);
}

rh-tabs {
#code-tabs {
border: var(--rh-border-width-sm) solid var(--rh-color-border-subtle);
border-radius: var(--rh-border-radius-default);
overflow: hidden;
grid-area: code;

& rh-tab-panel {
Expand Down

0 comments on commit 100b781

Please sign in to comment.