Ui corrections #15

Merged
robin merged 13 commits from ui-corrections into main 2026-07-27 14:24:26 +00:00
2 changed files with 12 additions and 6 deletions
Showing only changes of commit 09c5df8aae - Show all commits

No files matched your search

+10 -5
View File
@@ -230,11 +230,16 @@ export default function AdminPage() {
</form>
</Card>
</div>
<Screens.Songs
actionName="Auswählen"
onSelectSong={(song) => console.log(song)}
className="w-min"
/>
<div className="grid grid-cols-1 lg:grid-cols-2 gap-6">
<Screens.Songs
actionName="Auswählen"
onSelectSong={(song) => console.log(song)}
className=""
/>
<Card title="Lied zu Liederbuch hinzufügen">
<Input.Text disabled></Input.Text>
</Card>
</div>
</div>
</div>
);
+2 -1
View File
@@ -3,13 +3,14 @@ import { ComponentPropsWithoutRef } from "react";
interface TextfieldProps extends ComponentPropsWithoutRef<"input"> {}
function Textfield({value, onChange, placeholder}: TextfieldProps) {
function Textfield({value, onChange, placeholder, ...props}: TextfieldProps) {
return (
<input
className="w-full border border-neutral-700 rounded-lg px-4 py-2.5 placeholder-neutral-500 focus:outline-none focus:border-blue-400 text-sm"
value={value}
onChange={onChange}
placeholder={placeholder}
{...props}
/>
)
}