Refactor the navbar title separator to use CSS instead of text

This commit is contained in:
Oswaldo Acauan 2016-12-05 18:09:03 -02:00
parent 60b49971d8
commit a1cd283ab6
2 changed files with 8 additions and 11 deletions

View File

@ -82,11 +82,9 @@ class NavBar extends Component {
</div>
<div className={styles.center}>
{this.renderPresentationTitle()}
<span className={styles.divideBar}> | </span>
<div className={styles.record}>
<span className={styles.divider}></span>
<RecordingIndicator beingRecorded={beingRecorded}/>
</div>
</div>
<div className={styles.right}>
<SettingsDropdown />
</div>

View File

@ -7,8 +7,7 @@
.left,
.right,
.center,
.record {
.center {
display: flex;
flex-direction: row;
justify-content: center;
@ -16,8 +15,7 @@
}
.left,
.right,
.record {
.right {
flex: 0;
}
@ -41,9 +39,10 @@
}
}
.divideBar {
color: $color-white;
font-size: $font-size-base * 1.2;
.divider {
background: $color-white;
height: 70%;
width: 1px;
margin: 0 $line-height-computed / 2;
}