make tabbed-heading block css generic
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Aadil Ayub 2023-08-29 16:01:38 +05:00
parent 906cf389ae
commit ac71ee411f

View File

@ -1,13 +1,13 @@
/* For the "Tabbed Heading" block style */ /* For the "Tabbed Heading" block style */
.wp-block-heading.is-style-tabbed-heading { .is-style-tabbed-heading {
display: flex; display: flex;
height: 36px; height: 36px;
align-items: center; align-items: center;
border-top: 1px solid; border-top: 1px solid;
} }
.wp-block-heading.is-style-tabbed-heading::before { .is-style-tabbed-heading::before {
content: ""; content: "";
border-bottom: 1px solid; border-bottom: 1px solid;
border-right: 1px solid; border-right: 1px solid;
@ -17,7 +17,7 @@
border-top: 2px solid var(--wp--preset--color--background); border-top: 2px solid var(--wp--preset--color--background);
} }
.wp-block-heading.is-style-tabbed-heading::after { .is-style-tabbed-heading::after {
content: ""; content: "";
border-bottom: 1px solid; border-bottom: 1px solid;
flex-grow: 1; flex-grow: 1;