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

Commit

Permalink
#58 click anywhere on the top bar to go back (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
OliverRedman authored Jun 3, 2021
1 parent 34bdbbc commit e0aaebd
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions src/components/FileBrowser.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ tbody {
border-color: #fe5d5d !important;
outline: none !important;
}
.back-route {
padding-right: 100%;
}
.back-route td {
border-top: none;
}
</style>

<template>
Expand Down Expand Up @@ -195,15 +201,15 @@ tbody {
</tr>

<tr v-if="path.length > 0">
<td class="px-3">
<router-link to="../">
<router-link to="../" class="back-route">
<td class="px-3">
<a
href="javascript:null"
v-on:click="back"
>..</a
>
</router-link>
</td>
</td>
</router-link>
</tr>

<tr
Expand Down

0 comments on commit e0aaebd

Please sign in to comment.