Bug fixes
This commit is contained in:
@@ -208,7 +208,8 @@ export default function DiceRoller() {
|
||||
key={m.id}
|
||||
type="button"
|
||||
onClick={() => setMode(m.id)}
|
||||
className={`relative flex-1 cursor-pointer rounded-full px-3 py-2 text-sm font-semibold transition-colors duration-200 ${
|
||||
disabled={rolling}
|
||||
className={`relative flex-1 cursor-pointer rounded-full px-3 py-2 text-sm font-semibold transition-colors duration-200 disabled:cursor-not-allowed disabled:opacity-60 ${
|
||||
mode === m.id ? "text-white" : "text-ink-soft hover:text-ink"
|
||||
}`}
|
||||
>
|
||||
@@ -236,7 +237,7 @@ export default function DiceRoller() {
|
||||
<div className="mt-4 grid grid-cols-2 gap-2">
|
||||
{customFaces.map((face, i) => (
|
||||
<label key={i} className="block">
|
||||
<span className="mb-1 block text-[11px] font-medium text-ink-soft">
|
||||
<span className="mb-1 block text-xs font-medium text-ink-soft">
|
||||
Seite {i + 1}
|
||||
</span>
|
||||
<input
|
||||
@@ -248,9 +249,10 @@ export default function DiceRoller() {
|
||||
),
|
||||
)
|
||||
}
|
||||
disabled={rolling}
|
||||
maxLength={18}
|
||||
placeholder={`Seite ${i + 1}`}
|
||||
className="w-full rounded-xl border border-line bg-surface px-3 py-2 text-sm font-medium outline-none transition focus:border-primary/60 focus:ring-2 focus:ring-primary/20"
|
||||
className="w-full rounded-xl border border-line bg-surface px-3 py-2 text-sm font-medium outline-none transition focus:border-primary/60 focus:ring-2 focus:ring-primary/20 disabled:cursor-not-allowed disabled:opacity-60"
|
||||
/>
|
||||
</label>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user