Skip to content

Commit

Permalink
v3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dilanx committed Jan 3, 2024
1 parent f8abd66 commit 2c1c45b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
16 changes: 8 additions & 8 deletions src/components/generic/TextInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ function TextInput({
<textarea
className={`h-24 w-full resize-none rounded-md border-2 border-gray-300 px-2 py-1 text-sm outline-none transition-all duration-150 hover:border-gray-400
dark:border-gray-600 dark:bg-gray-800 dark:text-white dark:hover:border-gray-500 ${className} ${
invalid
? 'border-red-500 hover:border-red-500 focus:border-red-500 dark:border-red-500 dark:hover:border-red-500 dark:focus:border-red-500'
: 'focus:border-gray-800 dark:focus:border-gray-400'
}`}
invalid
? 'border-red-500 hover:border-red-500 focus:border-red-500 dark:border-red-500 dark:hover:border-red-500 dark:focus:border-red-500'
: 'focus:border-gray-800 dark:focus:border-gray-400'
}`}
value={value}
placeholder={placeholder}
onChange={(e) => setValue(e.target.value)}
Expand All @@ -45,10 +45,10 @@ function TextInput({
<input
className={`w-full rounded-md border-2 border-gray-300 px-2 py-1 text-sm outline-none transition-all duration-150 hover:border-gray-400
dark:border-gray-600 dark:bg-gray-800 dark:text-white dark:hover:border-gray-500 ${className} ${
invalid
? 'border-red-500 hover:border-red-500 focus:border-red-500 dark:border-red-500 dark:hover:border-red-500 dark:focus:border-red-500'
: 'focus:border-gray-800 dark:focus:border-gray-400'
}`}
invalid
? 'border-red-500 hover:border-red-500 focus:border-red-500 dark:border-red-500 dark:hover:border-red-500 dark:focus:border-red-500'
: 'focus:border-gray-800 dark:focus:border-gray-400'
}`}
value={value}
placeholder={placeholder}
onChange={(e) => setValue(e.target.value)}
Expand Down
2 changes: 1 addition & 1 deletion src/components/menu/Taskbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function Taskbar(props: TaskBarProps) {
const switches = props.switches;
const isSchedule = switches.get.mode === Mode.SCHEDULE;
return (
<div className="mx-auto mt-2 mb-4 w-full gap-2">
<div className="mx-auto mb-4 mt-2 w-full gap-2">
<Tabs
switches={props.switches}
switchName="tab"
Expand Down
2 changes: 1 addition & 1 deletion src/components/menu/about/AboutBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function AboutBanner({
href={href}
target="_blank"
rel="noreferrer"
className="block flex items-center gap-2 rounded-md py-0.5 px-4 text-center text-sm text-white opacity-75 shadow-sm transition-all duration-150 hover:opacity-100"
className="block flex items-center gap-2 rounded-md px-4 py-0.5 text-center text-sm text-white opacity-75 shadow-sm transition-all duration-150 hover:opacity-100"
style={{
backgroundColor: color,
}}
Expand Down
2 changes: 1 addition & 1 deletion src/components/search/SearchFilterDisplay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ function SearchFilterBadge({
{value}
</p>
<p
className={`absolute top-0 left-0 h-full w-full text-white bg-${color}-400
className={`absolute left-0 top-0 h-full w-full text-white bg-${color}-400
hidden items-center justify-center rounded-lg bg-opacity-80 group-hover:flex group-active:bg-opacity-100`}
>
<XMarkIcon className="h-4 w-4" />
Expand Down

0 comments on commit 2c1c45b

Please sign in to comment.