mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-03 08:37:53 +08:00
✨ Set container width based on active tab panel
This commit is contained in:
parent
5f0fb376fb
commit
69ca811b96
5 changed files with 24 additions and 3 deletions
|
@ -10,8 +10,6 @@
|
|||
|
||||
&-container {
|
||||
box-shadow: $shadow-card;
|
||||
max-width: 1024px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
&-card {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue