/* * Style Works for both Editor and Frontend */ .wp-block-atbs-tabs { &.side-tab-layout { .atbs__tab { &-labels { .atbs__tab-label { &.active { margin-right: -1px; margin-bottom: 0; } } } } } .atbs__tab { &-labels { .atbs__tab-label { &.active { margin-bottom: -1px; margin-right: 0; } } } } .atbs__tab { &-labels { margin: 0; padding: 0; .atbs__tab-label { display: inline-block; list-style: none; padding: 10px 20px; cursor: pointer; } } &-content { padding: 15px; .atbs__tab-panel { display: none; &.active { display: block; } } } .wp-block-atbs-tab p { margin-top: 0; } } &.side-tab-layout { display: flex; width: 100%; .atbs__tab-labels { display: flex; flex-direction: column; } .atbs__tab-content { flex: 1; display: flex; flex-direction: column; .atbs__tab-panel.active { flex: 1; display: flex; flex-direction: column; .wp-block-cgb-block-page-section { flex: 1; } } } } } //.wp-block-create-block-tabs