Skip to content

Commit

Permalink
fix: weird styling of input buttons when resized
Browse files Browse the repository at this point in the history
  • Loading branch information
BrewingWeasel committed Aug 20, 2024
1 parent d29ea0e commit a01e01d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/pages/reader/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ function set_sentence() {
<div v-if="props.currentLanguage" class="h-full">
<div
v-if="inputText.length == 0"
class="flex flex-wrap py-4 px-10 space-x-5 basis-auto"
class="flex flex-wrap py-4 px-10 gap-x-2 basis-auto"
>
<ButtonDialog
class="flex-1 my-2 max-w-md"
class="my-2 min-w-64 flex-1"
title="User Input"
@submitted="
router.replace('/reader/custom');
Expand All @@ -41,7 +41,7 @@ function set_sentence() {
<Textarea placeholder="Enter text to analyze" v-model="currentInput" />
</ButtonDialog>
<ButtonDialog
class="flex-1 my-2 max-w-md"
class="my-2 min-w-64 flex-1"
title="File Input"
button-name="Select file"
@submitted="
Expand All @@ -55,7 +55,7 @@ function set_sentence() {
<FilePicker v-model="currentInput" />
</ButtonDialog>
<ButtonDialog
class="flex-1 my-2 max-w-md"
class="my-2 min-w-64 flex-1"
title="Url"
@submitted="
router.replace('/reader/url');
Expand All @@ -67,7 +67,7 @@ function set_sentence() {
<Textarea placeholder="Enter url to use" v-model="currentInput" />
</ButtonDialog>
<ButtonDialog
class="flex-1 my-2 max-w-md"
class="my-2 min-w-64 flex-1"
title="Clipboard"
@submitted="
async () => {
Expand Down

0 comments on commit a01e01d

Please sign in to comment.