Fix overflow of cor-tabs by switching to flex box
Fixes https://jira.coreos.com/browse/QUAY-881
This commit is contained in:
parent
b4849997e7
commit
1fce4a1a1d
1 changed files with 11 additions and 4 deletions
|
@ -1,12 +1,20 @@
|
|||
.vertical cor-tabs {
|
||||
display: table-cell;
|
||||
float: none;
|
||||
vertical-align: top;
|
||||
background-color: #e8f1f6;
|
||||
border-right: 1px solid #DDE7ED;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.co-tab-container.vertical {
|
||||
flex-direction: row;
|
||||
display: flex;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.vertical .co-tab-content {
|
||||
width: 91.66666667% !important;
|
||||
}
|
||||
|
||||
.horizontal-label {
|
||||
color: #666;
|
||||
}
|
||||
|
@ -57,10 +65,9 @@
|
|||
}
|
||||
|
||||
.vertical .co-tab-content {
|
||||
width: 100%;
|
||||
display: table-cell;
|
||||
float: none;
|
||||
padding: 30px;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
|
|
Reference in a new issue