Skip to content
Snippets Groups Projects
Unverified Commit aa4dda49 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3028675 by bskibinski, joelpittet, gnuschichten, alexpott, lauriii:...

Issue #3028675 by bskibinski, joelpittet, gnuschichten, alexpott, lauriii: Vertical Tabs are unnecessarily hiding content with overflow: hidden
parent e1037701
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
.vertical-tabs { .vertical-tabs {
position: relative; position: relative;
overflow: hidden;
margin: 10px 0; margin: 10px 0;
border: 1px solid #bdbdbd; border: 1px solid #bdbdbd;
border-radius: 4px; border-radius: 4px;
...@@ -16,6 +15,7 @@ ...@@ -16,6 +15,7 @@
width: 240px; width: 240px;
margin: 0 -100% -1px 0; /* LTR */ margin: 0 -100% -1px 0; /* LTR */
padding: 0; padding: 0;
list-style-type: none;
border-bottom: 1px solid #ccc; border-bottom: 1px solid #ccc;
line-height: 1; line-height: 1;
} }
...@@ -37,6 +37,13 @@ ...@@ -37,6 +37,13 @@
.vertical-tabs__menu-item.last { .vertical-tabs__menu-item.last {
border-bottom: none; border-bottom: none;
} }
.vertical-tabs__menu-item.first a {
border-top-left-radius: 4px; /* LTR */
}
[dir="rtl"] .vertical-tabs__menu-item.first a {
border-top-left-radius: 0;
border-top-right-radius: 4px;
}
[dir="rtl"] .vertical-tabs__menu-item.is-selected { [dir="rtl"] .vertical-tabs__menu-item.is-selected {
border-right: none; border-right: none;
border-left: 1px solid #fcfcfa; border-left: 1px solid #fcfcfa;
...@@ -93,11 +100,14 @@ ...@@ -93,11 +100,14 @@
margin: 0 0 0 240px; /* LTR */ margin: 0 0 0 240px; /* LTR */
padding: 10px 15px 10px 15px; padding: 10px 15px 10px 15px;
border-left: 1px solid #a6a5a1; /* LTR */ border-left: 1px solid #a6a5a1; /* LTR */
border-top-right-radius: 4px; /* LTR */
border-bottom-right-radius: 4px; /* LTR */
} }
[dir="rtl"] .vertical-tabs__panes { [dir="rtl"] .vertical-tabs__panes {
margin: 0 240px 0 0; margin: 0 240px 0 0;
border-right: 1px solid #a6a5a1; border-right: 1px solid #a6a5a1;
border-left: none; border-left: none;
border-radius: 4px 0 0 4px;
} }
.vertical-tabs__panes:after { .vertical-tabs__panes:after {
display: table; display: table;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment