Skip to content

Commit

Permalink
Merge pull request #6548 from jasongrout/overflow
Browse files Browse the repository at this point in the history
Handle small tabs overflowing and preserve the border bridging for the active tab
  • Loading branch information
jasongrout committed Jun 12, 2019
2 parents 676907b + 9243140 commit a449f28
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/application/style/tabs.css
Expand Up @@ -19,6 +19,8 @@
|----------------------------------------------------------------------------*/

.p-DockPanel-tabBar {
border-bottom: var(--jp-border-width) solid var(--jp-border-color1);
overflow: visible;
color: var(--jp-ui-font-color1);
font-size: var(--jp-ui-font-size1);
}
Expand All @@ -44,15 +46,14 @@
min-height: calc(
var(--jp-private-horizontal-tab-height) + var(--jp-border-width)
);
min-width: 36px;
min-width: 0px;
margin-left: calc(-1 * var(--jp-border-width));
line-height: var(--jp-private-horizontal-tab-height);
padding: 0px 8px;
background: var(--jp-layout-color2);
border: var(--jp-border-width) solid var(--jp-border-color1);
border-bottom: none;
position: relative;
overflow: visible;
}

.p-DockPanel-tabBar .p-TabBar-tab:hover:not(.p-mod-current) {
Expand Down

0 comments on commit a449f28

Please sign in to comment.