Fixes error where menu wasn't highlighting collection if is collapsed.

This commit is contained in:
Mateus Machado Luna 2018-05-04 13:10:42 -03:00
parent 84655bcf70
commit f630b1ef68
3 changed files with 9 additions and 7 deletions

View File

@ -55,6 +55,11 @@
height: 100%;
margin-bottom: 0px;
margin-top: 0px;
@media screen and (max-width: 769px) {
height: auto;
}
}
.is-main-content {

View File

@ -11,7 +11,7 @@
<li><router-link
tag="a"
to="/collections"
:class="activeRoute == 'CollectionsPage' || isMenuCompressed ? 'is-active':''">
:class="activeRoute == 'CollectionsPage' || $route.params.collectionId != undefined ? 'is-active':''">
<b-icon
size="is-small"
icon="folder-multiple"/> <span class="menu-text">{{ $i18n.getFrom('collections', 'name') }}</span>

View File

@ -340,8 +340,7 @@
@media screen and (max-width: 769px) {
height: 60px;
margin-top: -0.5em;
padding-top: 0.90em;
margin-top: 0;
.header-item {
padding-right: 0.5em;
@ -392,12 +391,10 @@
}
@media screen and (max-width: 769px) {
.filters-menu {
display: none;
}
.table-container {
margin-right: 0;
padding: .85em 0em;
padding: 16px;
}
}