mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-05 04:02:21 +02:00
🎨 Update UI package (#1070)
Add new components and update various existing ones.
This commit is contained in:
parent
a4ffbee081
commit
e6792a4283
33 changed files with 386 additions and 56 deletions
|
@ -63,6 +63,7 @@ export const PollDetailsForm = () => {
|
|||
<Input
|
||||
type="text"
|
||||
id="location"
|
||||
className="w-full"
|
||||
placeholder={t("locationPlaceholder")}
|
||||
{...register("location")}
|
||||
/>
|
||||
|
@ -77,6 +78,7 @@ export const PollDetailsForm = () => {
|
|||
</span>
|
||||
</div>
|
||||
<Textarea
|
||||
className="w-full"
|
||||
id="description"
|
||||
placeholder={t("descriptionPlaceholder")}
|
||||
rows={5}
|
||||
|
|
|
@ -49,7 +49,7 @@ const DateTimePreferencesForm = () => {
|
|||
form.reset(data);
|
||||
})}
|
||||
>
|
||||
<div className="space-y-4">
|
||||
<div className="space-y-6">
|
||||
<FormField
|
||||
control={form.control}
|
||||
name="timeZone"
|
||||
|
|
|
@ -3,7 +3,7 @@ import { Tooltip, TooltipContent, TooltipTrigger } from "@rallly/ui/tooltip";
|
|||
import { InfoIcon } from "lucide-react";
|
||||
|
||||
export const Settings = ({ children }: React.PropsWithChildren) => {
|
||||
return <div className="">{children}</div>;
|
||||
return <div className="space-y-6">{children}</div>;
|
||||
};
|
||||
|
||||
export const SettingsHeader = ({ children }: React.PropsWithChildren) => {
|
||||
|
@ -51,7 +51,7 @@ export const SettingsItemTitle = ({
|
|||
{hint ? (
|
||||
<Tooltip>
|
||||
<TooltipTrigger asChild>
|
||||
<InfoIcon className="size-4 inline-block text-gray-500" />
|
||||
<InfoIcon className="inline-block size-4 text-gray-500" />
|
||||
</TooltipTrigger>
|
||||
<TooltipContent side="right" className="max-w-sm">
|
||||
{hint}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue