mirror of
https://github.com/mue/mue.git
synced 2026-07-11 18:31:47 +02:00
style: radio group
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -5,6 +5,7 @@ node_modules/
|
||||
extensions/
|
||||
.idea/
|
||||
dist/
|
||||
build/
|
||||
|
||||
# Files
|
||||
package-lock.json
|
||||
|
||||
@@ -42,6 +42,7 @@
|
||||
-webkit-padding-start: 0;
|
||||
padding: 0;
|
||||
list-style-type: none;
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.images-row {
|
||||
|
||||
@@ -55,11 +55,11 @@ function Radio(props) {
|
||||
key={option.name}
|
||||
label={option.name}
|
||||
value={option.value}
|
||||
className="group relative flex cursor-pointer rounded-lg bg-white/5 py-4 px-5 text-white shadow-md transition focus:outline-none data-[focus]:outline-1 data-[focus]:outline-white data-[checked]:bg-white/10"
|
||||
className="data-[checked]:bg-white/10 group relative flex cursor-pointer rounded-lg bg-white/5 data-[checked]:hover:bg-neutral-700 hover:bg-neutral-700 py-4 px-5 text-white shadow-md transition focus:outline-none data-[focus]:outline-1 data-[focus]:outline-white"
|
||||
>
|
||||
<div className="flex w-full items-center justify-between">
|
||||
<div className="text-sm/6">
|
||||
<p className="font-semibold text-white">{option.name}</p>
|
||||
<p className="font-semibold text-white capitalize">{option.name}</p>
|
||||
<div className="flex gap-2 text-white/50">
|
||||
<div>{option.subname}</div>
|
||||
<div aria-hidden="true">·</div>
|
||||
|
||||
Reference in New Issue
Block a user