Skip to content

Commit

Permalink
Log UI: fixed button layout (#13442)
Browse files Browse the repository at this point in the history
  • Loading branch information
naltatis committed Apr 16, 2024
1 parent 63fb5d0 commit 8a79b59
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions assets/js/views/Log.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
<div class="logs d-flex flex-column overflow-hidden flex-grow-1 px-4 mx-2 mx-sm-4">
<div class="flex-grow-0 row py-4">
<div class="col-6 col-lg-3 mb-4 mb-lg-0 d-flex gap-2">
<div class="btn-group">
<div class="btn-group w-100 w-lg-auto d-flex">
<button
type="button"
class="btn text-nowrap d-flex w-100 w-lg-auto justify-content-between"
class="btn text-nowrap d-flex gap-2 flex-grow-1 text-nowrap text-truncate"
:class="autoFollow ? 'btn-secondary' : 'btn-outline-secondary'"
@click="toggleAutoFollow"
>
Expand All @@ -18,13 +18,13 @@
<Record
v-if="autoFollow"
ref="spin"
class="ms-1 spin flex-shrink-0"
class="spin flex-shrink-0"
:style="{ animationDuration: `${updateInterval}ms` }"
/>
<Play v-else class="ms-1 flex-shrink-0 play" />
<Play v-else class="flex-shrink-0 play" />
</button>
<a
class="btn btn-outline-secondary"
class="btn btn-outline-secondary flex-grow-0"
:aria-label="$t('log.download')"
:href="downloadUrl"
download
Expand Down

0 comments on commit 8a79b59

Please sign in to comment.