mirror of
https://github.com/massbug/judge4c.git
synced 2025-05-18 15:26:33 +00:00
fix(style): removing shadow
This commit is contained in:
parent
849c8bc609
commit
28c10ad590
@ -33,7 +33,7 @@ export default function CopyButton() {
|
|||||||
<Button
|
<Button
|
||||||
variant="outline"
|
variant="outline"
|
||||||
size="icon"
|
size="icon"
|
||||||
className="h-6 w-6 border-none px-1.5 py-0.5 disabled:opacity-100 hover:bg-muted"
|
className="h-6 w-6 border-none shadow-none px-1.5 py-0.5 disabled:opacity-100 hover:bg-muted"
|
||||||
onClick={handleCopy}
|
onClick={handleCopy}
|
||||||
aria-label={copied ? "Copied" : "Copy to clipboard"}
|
aria-label={copied ? "Copied" : "Copy to clipboard"}
|
||||||
disabled={copied}
|
disabled={copied}
|
||||||
|
@ -24,7 +24,7 @@ export default function FormatButton() {
|
|||||||
onClick={() => {
|
onClick={() => {
|
||||||
editor?.trigger("format", "editor.action.formatDocument", null);
|
editor?.trigger("format", "editor.action.formatDocument", null);
|
||||||
}}
|
}}
|
||||||
className="h-6 w-6 px-1.5 py-0.5 border-none hover:bg-muted"
|
className="h-6 w-6 px-1.5 py-0.5 border-none shadow-none hover:bg-muted"
|
||||||
>
|
>
|
||||||
<Paintbrush size={16} strokeWidth={2} aria-hidden="true" />
|
<Paintbrush size={16} strokeWidth={2} aria-hidden="true" />
|
||||||
</Button>
|
</Button>
|
||||||
|
@ -29,7 +29,7 @@ export default function LanguageSelector() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Select value={language} onValueChange={handleValueChange}>
|
<Select value={language} onValueChange={handleValueChange}>
|
||||||
<SelectTrigger className="h-6 px-1.5 py-0.5 border-none focus:ring-0 hover:bg-muted [&>span]:flex [&>span]:items-center [&>span]:gap-2 [&>span_svg]:shrink-0 [&>span_svg]:text-muted-foreground/80">
|
<SelectTrigger className="h-6 px-1.5 py-0.5 border-none shadow-none focus:ring-0 hover:bg-muted [&>span]:flex [&>span]:items-center [&>span]:gap-2 [&>span_svg]:shrink-0 [&>span_svg]:text-muted-foreground/80">
|
||||||
<SelectValue placeholder="Select language" />
|
<SelectValue placeholder="Select language" />
|
||||||
</SelectTrigger>
|
</SelectTrigger>
|
||||||
<SelectContent className="[&_*[role=option]>span>svg]:shrink-0 [&_*[role=option]>span>svg]:text-muted-foreground/80 [&_*[role=option]>span]:end-2 [&_*[role=option]>span]:start-auto [&_*[role=option]>span]:flex [&_*[role=option]>span]:items-center [&_*[role=option]>span]:gap-2 [&_*[role=option]]:pe-8 [&_*[role=option]]:ps-2">
|
<SelectContent className="[&_*[role=option]>span>svg]:shrink-0 [&_*[role=option]>span>svg]:text-muted-foreground/80 [&_*[role=option]>span]:end-2 [&_*[role=option]>span]:start-auto [&_*[role=option]>span]:flex [&_*[role=option]>span]:items-center [&_*[role=option]>span]:gap-2 [&_*[role=option]]:pe-8 [&_*[role=option]]:ps-2">
|
||||||
|
@ -24,7 +24,7 @@ export default function RedoButton() {
|
|||||||
onClick={() => {
|
onClick={() => {
|
||||||
editor?.trigger("redo", "redo", null);
|
editor?.trigger("redo", "redo", null);
|
||||||
}}
|
}}
|
||||||
className="h-6 w-6 px-1.5 py-0.5 border-none hover:bg-muted"
|
className="h-6 w-6 px-1.5 py-0.5 border-none shadow-none hover:bg-muted"
|
||||||
>
|
>
|
||||||
<Redo2 size={16} strokeWidth={2} aria-hidden="true" />
|
<Redo2 size={16} strokeWidth={2} aria-hidden="true" />
|
||||||
</Button>
|
</Button>
|
||||||
|
@ -47,7 +47,7 @@ export default function ResetButton({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
className="h-6 w-6 px-1.5 py-0.5 border-none hover:bg-muted"
|
className="h-6 w-6 px-1.5 py-0.5 border-none shadow-none hover:bg-muted"
|
||||||
>
|
>
|
||||||
<RotateCcw size={16} strokeWidth={2} aria-hidden="true" />
|
<RotateCcw size={16} strokeWidth={2} aria-hidden="true" />
|
||||||
</Button>
|
</Button>
|
||||||
|
@ -24,7 +24,7 @@ export default function UndoButton() {
|
|||||||
onClick={() => {
|
onClick={() => {
|
||||||
editor?.trigger("undo", "undo", null);
|
editor?.trigger("undo", "undo", null);
|
||||||
}}
|
}}
|
||||||
className="h-6 w-6 px-1.5 py-0.5 border-none hover:bg-muted"
|
className="h-6 w-6 px-1.5 py-0.5 border-none shadow-none hover:bg-muted"
|
||||||
>
|
>
|
||||||
<Undo2 size={16} strokeWidth={2} aria-hidden="true" />
|
<Undo2 size={16} strokeWidth={2} aria-hidden="true" />
|
||||||
</Button>
|
</Button>
|
||||||
|
Loading…
Reference in New Issue
Block a user