Skip to content

Commit 701bebd

Browse files
committed
Revise the appearance in the example
1 parent f1da267 commit 701bebd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ Close button with custom appearance:
588588
van.add(document.body, FloatingWindow(
589589
{
590590
title: "Example Window 3", x: 175, y: 175, closeCross: "❌",
591-
crossHoverStyleOverrides: {"background-color": "transparent"},
591+
crossHoverStyleOverrides: {"background-color": "white"},
592592
},
593593
div({style: "display: flex; justify-content: center;"},
594594
p("This is a floating window with custom cross button!"),

components/examples/window/src/main.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const example3 = () => {
3131
van.add(document.body, FloatingWindow(
3232
{
3333
title: "Example Window 3", x: 175, y: 175, closeCross: "❌",
34-
crossHoverStyleOverrides: {"background-color": "transparent"},
34+
crossHoverStyleOverrides: {"background-color": "white"},
3535
},
3636
div({style: "display: flex; justify-content: center;"},
3737
p("This is a floating window with custom cross button!"),

0 commit comments

Comments
 (0)