Merge branch 'no-dialog'

This commit is contained in:
2021-05-30 02:53:04 +08:00
2 changed files with 4 additions and 10 deletions

View File

@@ -12,7 +12,6 @@ const component_share = {
<th>Filename</th> <th>Filename</th>
<th>Folder Name</th> <th>Folder Name</th>
<th>Size</th> <th>Size</th>
<th>Action</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@@ -132,7 +131,6 @@ const component_search_folders = {
<th>Filename</th> <th>Filename</th>
<th>Folder Name</th> <th>Folder Name</th>
<th>Size</th> <th>Size</th>
<th>Action</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@@ -443,9 +441,7 @@ const component_file = {
template: ` template: `
<td class="clickable" @click="click_filename">{{ file.filename }}</td> <td class="clickable" @click="click_filename">{{ file.filename }}</td>
<td class="clickable" @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>
<button class="dialog" @click="dialog">Dialog</button>
<component-file-dialog <component-file-dialog
@close_dialog="close_dialog" @close_dialog="close_dialog"
@play_audio="$emit('play_audio', $event)" @play_audio="$emit('play_audio', $event)"
@@ -716,7 +712,6 @@ const component_search_files = {
<th>Filename</th> <th>Filename</th>
<th>Folder Name</th> <th>Folder Name</th>
<th>Size</th> <th>Size</th>
<th>Action</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@@ -809,7 +804,6 @@ const component_get_random_files = {
<th>Filename</th> <th>Filename</th>
<th>Folder Name</th> <th>Folder Name</th>
<th>Size</th> <th>Size</th>
<th>Action</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>

View File

@@ -68,7 +68,7 @@ div.feedback {
button.refresh { button.refresh {
width: 100%; width: 100%;
} }
button.dialog { td, th {
padding-right: 1em; padding-bottom: 0.5em;
padding-left: 1em; padding-top: 0.5em;
} }