chore: fix width overflow

This commit is contained in:
Steven 2023-07-23 23:20:34 +08:00
parent a36a99e53d
commit c8fea442d6
2 changed files with 4 additions and 5 deletions

View File

@ -19,12 +19,11 @@ const AboutDialog: React.FC<Props> = (props: Props) => {
</div> </div>
<div className="max-w-full w-80 sm:w-96"> <div className="max-w-full w-80 sm:w-96">
<p> <p>
<span className="font-medium">Slash</span> is a bookmarking and short link service that allows you to save and share links <span className="font-medium">Slash</span>: A bookmarking and url shortener, save and share your links very easily.
easily.
</p> </p>
<div className="mt-1"> <div className="mt-1">
<span className="mr-2">See more in:</span> <span className="mr-2">See more in</span>
<Link variant="plain" href="https://github.com/boojack/slash"> <Link variant="plain" href="https://github.com/boojack/slash" target="_blank">
GitHub GitHub
</Link> </Link>
</div> </div>

View File

@ -183,7 +183,7 @@ const CreateShortcutDialog: React.FC<Props> = (props: Props) => {
<Icon.X className="w-5 h-auto text-gray-600" /> <Icon.X className="w-5 h-auto text-gray-600" />
</Button> </Button>
</div> </div>
<div className="overflow-y-auto"> <div className="overflow-y-auto overflow-x-hidden">
<div className="w-full flex flex-col justify-start items-start mb-3"> <div className="w-full flex flex-col justify-start items-start mb-3">
<span className="mb-2"> <span className="mb-2">
Name <span className="text-red-600">*</span> Name <span className="text-red-600">*</span>