make td looks like clickable

This commit is contained in:
2021-05-23 21:10:00 +08:00
parent 4221a4ff8f
commit cd493807fb
2 changed files with 5 additions and 2 deletions

View File

@@ -292,8 +292,8 @@ const component_file = {
props: ['file'], props: ['file'],
emits: ['play_audio'], emits: ['play_audio'],
template: ` template: `
<td @click="dialog">{{ file.filename }}</td> <td class="clickable" @click="dialog">{{ file.filename }}</td>
<td @click="show_folder">{{ file.foldername }}</td> <td class="clickable" @click="show_folder">{{ file.foldername }}</td>
<td>{{ computed_readable_size }}</td> <td>{{ computed_readable_size }}</td>
<td> <td>
<button @click="dialog">Dialog</button> <button @click="dialog">Dialog</button>

View File

@@ -41,3 +41,6 @@ a.router-link-active {
height: 39px; height: 39px;
width: 100%; width: 100%;
} }
td.clickable {
cursor: pointer;
}