We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b78cd74 commit 0936d52Copy full SHA for 0936d52
1 file changed
examples/shadertoy-server/src/mcp-app.css
@@ -2,13 +2,15 @@ html, body {
2
margin: 0;
3
width: 100%;
4
height: 100%;
5
+ min-height: 400px;
6
overflow: hidden;
7
}
8
9
.main {
10
position: relative;
11
12
13
14
15
16
#canvas {
@@ -33,7 +35,7 @@ html, body {
33
35
align-items: center;
34
36
justify-content: center;
37
transition: background 0.2s, opacity 0.2s;
- opacity: 0.7;
38
+ opacity: 0; /* Initially invisible, shown on widget hover */
39
z-index: 100;
40
41
@@ -55,6 +57,11 @@ html, body {
55
57
display: flex;
56
58
59
60
+/* Show button on widget hover */
61
+.main:hover .fullscreen-btn.available {
62
+ opacity: 0.7;
63
+}
64
+
65
/* Fullscreen mode */
66
.main.fullscreen .fullscreen-btn .expand-icon {
67
display: none;
0 commit comments