Changing @tab-content__border variable has no effect in Blank theme #14999
Labels
Fixed in 2.1.x
The issue has been fixed in 2.1 release line
Fixed in 2.2.x
The issue has been fixed in 2.2 release line
Fixed in 2.3.x
The issue has been fixed in 2.3 release line
Issue: Format is valid
Gate 1 Passed. Automatic verification of issue format passed
Preconditions
Any Magento 2
FE theme inherited from Magento/Blank
Steps to reproduce
In
Custom/theme/web/css/source/_theme.less
set less variables to:@tab-content__border-top-status: false;
@tab-content__border: 1px solid #000;
Expected result
Tabs content has border
Actual result
Tabs content has no border
What causes the issue
web/css/source/_sections.less calls
.lib-data-tabs()
mixin with@_tab-content-border-top-status: true
argument, so@tab-content__border-top-status
variable isn't used in.lib-data-tabs()
Solution
@_tab-content-border-top-status: true
argument in web/css/source/_sections.less (as it's done in Magento/Luma);@tab-content__border-top-status: true
in web/css/source/_variables.lessWorkaround
Create
Custom/theme/web/css/source/_sections_extend.less
with:The text was updated successfully, but these errors were encountered: