Skip to content

Commit

Permalink
MINOR: Right align elements in toolbar and add rounding on buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
bergice committed Nov 12, 2018
1 parent 63d11f7 commit 0ba2ccf
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions client/src/components/Toolbar/Toolbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,39 @@
.btn {
margin-bottom: 0;
}

.right {
margin-left: auto;

.btn-group:not(last-child) {
margin-right: 10px !important;
}
}

.rounded {

&.btn, >.btn {
width: 32px;
padding-left: 7px;

&:last-child{
border-top-right-radius: 100px !important;
border-bottom-right-radius: 100px !important;
}

&:first-child {
border-top-left-radius: 100px !important;
border-bottom-left-radius: 100px !important;
}

}

border-radius: 100px !important;

&::before, .btn::before {
margin-right: 0;
}
}
}

// Northern bar containing breadcrumb, tabs etc.
Expand Down

0 comments on commit 0ba2ccf

Please sign in to comment.