Skip to content
This repository was archived by the owner on Oct 15, 2021. It is now read-only.

Commit e0aaebd

Browse files
authored
#58 click anywhere on the top bar to go back (#134)
1 parent 34bdbbc commit e0aaebd

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

src/components/FileBrowser.vue

+10-4
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ tbody {
5353
border-color: #fe5d5d !important;
5454
outline: none !important;
5555
}
56+
.back-route {
57+
padding-right: 100%;
58+
}
59+
.back-route td {
60+
border-top: none;
61+
}
5662
</style>
5763

5864
<template>
@@ -195,15 +201,15 @@ tbody {
195201
</tr>
196202

197203
<tr v-if="path.length > 0">
198-
<td class="px-3">
199-
<router-link to="../">
204+
<router-link to="../" class="back-route">
205+
<td class="px-3">
200206
<a
201207
href="javascript:null"
202208
v-on:click="back"
203209
>..</a
204210
>
205-
</router-link>
206-
</td>
211+
</td>
212+
</router-link>
207213
</tr>
208214

209215
<tr

0 commit comments

Comments
 (0)