Skip to content

Commit

Permalink
Enforce a maximum width on knockout bracket modal and allow scrolling…
Browse files Browse the repository at this point in the history
… across it
  • Loading branch information
phrasmotica committed Apr 26, 2024
1 parent 8b35207 commit 3aea51a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/components/modals/BracketModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,17 @@ const visible = defineModel<boolean>("visible", {
<template>
<Dialog
modal
class="mx-4"
class="bracket-modal mx-4"
v-model:visible="visible"
:header="t('bracket.knockoutBracket')">
<div>
<div class="overflow-x-auto">
<KnockoutBracket />
</div>
</Dialog>
</template>

<style>
.bracket-modal {
max-width: 90vw;
}
</style>

0 comments on commit 3aea51a

Please sign in to comment.