Skip to content

Commit

Permalink
layout: fix expander appearing bug (tensorflow#5503)
Browse files Browse the repository at this point in the history
When the sidebar got resized and the width is small enough, we collapsed it. The bug is the expander used to reopen the sidebar disappears and the sidebar can never be expanded again. (What's worse is we remember this setting in local storage). This pr fixes the bug.
  • Loading branch information
japie1235813 authored and bmd3k committed Jan 19, 2022
1 parent a249aa1 commit c209748
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tensorboard/webapp/core/views/layout_container.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ limitations under the License.
.expand {
@include tb-theme-foreground-prop(border-color, border);
box-sizing: border-box;
contain: strict;
flex: 0 0;
justify-self: stretch;
}
Expand All @@ -44,6 +43,7 @@ limitations under the License.
border-style: solid;
border-width: 0 2px;
cursor: ew-resize;
contain: strict;
display: flex;
justify-self: stretch;

Expand All @@ -69,6 +69,7 @@ limitations under the License.
border-style: solid;
border-width: 0 1px 0 0;
color: inherit;
contain: content;
cursor: pointer;
display: flex;
justify-self: stretch;
Expand Down

0 comments on commit c209748

Please sign in to comment.