File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ const onChange = () => {
3333 :checked =" checked"
3434 :disabled =" props.disabled ? true : undefined"
3535 @change =" onChange"
36- class =" peer"
36+ class =" peer sr-only "
3737 />
3838 <label
3939 class =" bg-bg-muted text-fg-muted border-border hover:(text-fg border-border-hover) inline-flex items-center px-2 py-0.5 text-xs font-mono border rounded transition-colors duration-200 peer-focus:ring-2 peer-focus:ring-fg border-none peer-checked:(bg-fg text-bg border-fg hover:(text-text-bg/50)) peer-disabled:(opacity-50 pointer-events-none)"
@@ -43,18 +43,3 @@ const onChange = () => {
4343 </label >
4444 </div >
4545</template >
46-
47- <style scoped>
48- input [type = ' radio' ] {
49- position : absolute ;
50- opacity : 0 ;
51- width : 1px ;
52- height : 1px ;
53- margin : -1px ;
54- overflow : hidden ;
55- clip : rect (0 0 0 0 );
56- clip-path : inset (50% );
57- white-space : nowrap ;
58- border : 0 ;
59- }
60- </style >
You can’t perform that action at this time.
0 commit comments