mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 08:12:15 +00:00
fixed issue with overflowing text in small screen for FilePreview
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div @keydown.esc="closeOverlays" tabindex="-1">
|
||||
<div @keydown.esc="closeOverlays" tabindex="-1" class="min-w-[320px]">
|
||||
<!--UI components-->
|
||||
<Alert />
|
||||
<ToasterWrapper />
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div
|
||||
v-if="isFullPreview"
|
||||
class="fixed left-0 right-0 top-0 bottom-0 z-40 h-full w-full bg-white dark:bg-dark-background"
|
||||
class="fixed left-0 right-0 top-0 bottom-0 z-40 h-full w-full bg-white dark:bg-dark-background min-w-[320px]"
|
||||
ref="filePreview"
|
||||
tabindex="-1"
|
||||
@keydown.esc="closeFilePreview"
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<div class="flex items-center">
|
||||
<div class="mr-3 ml-0 flex items-center lg:mx-3">
|
||||
<span
|
||||
class="inline-block max-w-[230px] overflow-hidden text-ellipsis whitespace-nowrap text-sm font-bold"
|
||||
class="inline-block max-w-[150px] xs:max-w-[230px] md:max-w-[290px] overflow-hidden text-ellipsis whitespace-nowrap text-sm font-bold"
|
||||
>
|
||||
{{ currentFile.data.attributes.name }}
|
||||
</span>
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
<AppInputText title="Mail Username" :error="errors[0]">
|
||||
<input
|
||||
class="focus-border-theme input-dark"
|
||||
v-model.lazy="mail.smtp.username"
|
||||
v-model="mail.smtp.username"
|
||||
placeholder="Type your mail username"
|
||||
type="text"
|
||||
:class="{ '!border-rose-600': errors[0] }"
|
||||
@@ -82,8 +82,8 @@
|
||||
</AppInputText>
|
||||
</ValidationProvider>
|
||||
|
||||
<ValidationProvider v-if="shouldSetSMTPEmail" tag="div" mode="passive" name="Mail From Address" rules="required|email" v-slot="{ errors }">
|
||||
<AppInputText title="Mail" :error="errors[0]" :is-last="true">
|
||||
<ValidationProvider v-if="shouldSetSMTPEmail" tag="div" mode="passive" name="Mail From" rules="required|email" v-slot="{ errors }">
|
||||
<AppInputText title="Mail From Address" :error="errors[0]" :is-last="true">
|
||||
<input
|
||||
class="focus-border-theme input-dark"
|
||||
v-model.trim="mail.smtp.email"
|
||||
|
||||
Reference in New Issue
Block a user