mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-29 03:10:51 +00:00
Mobile navigation fix with hidden back button
This commit is contained in:
@@ -2,8 +2,8 @@
|
|||||||
<div class="mobile-toolbar">
|
<div class="mobile-toolbar">
|
||||||
|
|
||||||
<!-- Go back-->
|
<!-- Go back-->
|
||||||
<div @click="goBack" class="go-back-button">
|
<div @click="goBack" class="go-back-button" :class="{'is-visible': browseHistory.length > 1}">
|
||||||
<chevron-left-icon :class="{'is-visible': browseHistory.length > 1}" size="17" class="icon-back" />
|
<chevron-left-icon size="17" class="icon-back" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!--Folder Title-->
|
<!--Folder Title-->
|
||||||
@@ -106,18 +106,20 @@
|
|||||||
.go-back-button {
|
.go-back-button {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
opacity: 0;
|
||||||
|
visibility: hidden;
|
||||||
|
pointer-events: none;
|
||||||
|
|
||||||
.icon-back {
|
.icon-back {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
opacity: 0;
|
|
||||||
visibility: hidden;
|
|
||||||
margin-top: -2px;
|
margin-top: -2px;
|
||||||
|
}
|
||||||
|
|
||||||
&.is-visible {
|
&.is-visible {
|
||||||
opacity: 1;
|
pointer-events: initial;
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
}
|
opacity: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user