Set container width based on active tab panel

This commit is contained in:
Philipp Stracker 2024-10-28 15:56:11 +01:00
parent 5f0fb376fb
commit 69ca811b96
No known key found for this signature in database
5 changed files with 24 additions and 3 deletions

View file

@ -10,8 +10,6 @@
&-container {
box-shadow: $shadow-card;
max-width: 1024px;
margin: 0 auto;
}
&-card {

View file

@ -2,6 +2,10 @@
--wp-components-color-accent: #{$color-blueberry};
--wp-admin-border-width-focus: 3px;
max-width: var(--max-tabbar-width);
margin: 0 auto;
transition: max-width 0.2s;
.components-tab-panel__tabs {
box-shadow: 0 -1px 0 0 $color-gray-400 inset;
margin-bottom: 48px;