Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert to the older page header and toolbar padding for smaller viewports #193

Merged
merged 1 commit into from
Dec 7, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion app/src/renderer/components/common/NiPageHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default {
flex 1
display flex
min-width 0 // fix truncation
padding 1.66rem 1rem 1rem 2rem // 1.66 to match logo
padding 1rem

i.material-icons
font-size 1.375 * x
Expand All @@ -60,6 +60,9 @@ export default {
.ni-page-header-container
display flex

.ni-page-header-text
padding 1.66rem 1rem 1rem 2rem // 1.66 to match logo

.ni-page-header-menu
display flex
align-items center
Expand Down
5 changes: 3 additions & 2 deletions app/src/renderer/components/common/NiToolBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export default {
@require '~variables'

.ni-tool-bar-container
height 100%
display flex

.main
Expand All @@ -33,7 +32,6 @@ export default {

a
padding 1rem
margin-top 0.7rem

user-select none
cursor pointer
Expand Down Expand Up @@ -109,10 +107,13 @@ export default {

.ni-tool-bar-container
background app-bg-alpha
height 3rem + px
border-top px solid bc

@media screen and (min-width: 1024px)
.ni-tool-bar-container
.main
justify-content flex-end
a
margin-top 0.7rem
</style>