fix realtime layer thumbnail clipping
This commit is contained in:
parent
b177f8085c
commit
ecca6ff439
@ -2924,7 +2924,7 @@ export function RealtimeCanvasDialog({
|
|||||||
<Layers3 className="h-4 w-4" />
|
<Layers3 className="h-4 w-4" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="mt-2 flex-1 space-y-2 overflow-y-auto px-1 py-1">
|
<div className="mt-2 flex flex-1 flex-col items-center space-y-2 overflow-y-auto py-1">
|
||||||
{imageLayers.length === 0 ? (
|
{imageLayers.length === 0 ? (
|
||||||
<div className="rounded-2xl border border-dashed border-black/10 px-1 py-4 text-center text-[10px] leading-4 text-zinc-400">
|
<div className="rounded-2xl border border-dashed border-black/10 px-1 py-4 text-center text-[10px] leading-4 text-zinc-400">
|
||||||
暂无图层
|
暂无图层
|
||||||
@ -2936,7 +2936,7 @@ export function RealtimeCanvasDialog({
|
|||||||
type="button"
|
type="button"
|
||||||
draggable
|
draggable
|
||||||
className={cn(
|
className={cn(
|
||||||
"mx-auto flex h-12 w-12 shrink-0 items-center justify-center rounded-[18px] p-1.5 transition hover:bg-zinc-50",
|
"flex h-12 w-12 shrink-0 items-center justify-center rounded-[18px] p-1.5 transition hover:bg-zinc-50",
|
||||||
selectedLayerId === layer.id
|
selectedLayerId === layer.id
|
||||||
? "bg-zinc-100 shadow-[inset_0_0_0_1px_rgba(0,0,0,0.08)]"
|
? "bg-zinc-100 shadow-[inset_0_0_0_1px_rgba(0,0,0,0.08)]"
|
||||||
: ""
|
: ""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user