Skip to content
Snippets Groups Projects
Commit d06aa6b5 authored by Janis Daniel Dähne's avatar Janis Daniel Dähne
Browse files

- active panel tabs are now highlighted with a bottom bar

parent d8c8c01f
Branches
No related tags found
No related merge requests found
......@@ -49,6 +49,17 @@ $panelPadding = 0.5em
.tab-header {
margin 0.5em 0 0 0
cursor default /* to avoid tab text hover*/
position relative
}
.tab-header.active:after {
content ''
position absolute
left: 0
right -5px
bottom -($panelPadding)
height 1px
background-color $accentColor
}
.tab-host {
......@@ -88,4 +99,4 @@ $panelPadding = 0.5em
.tab-actions {
}
\ No newline at end of file
}
......@@ -27,7 +27,7 @@ export default class TabHeader extends React.Component<MyProps, any> {
<div onClick={() => this.handleClicked()}
className={
this.props.isActive
? 'tab-header toggled-active--color'
? 'tab-header active toggled-active--color'
: 'tab-header clickable'
}
>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment