Skip to content

Commit f5cd4c7

Browse files
committed
Docs: remove scroll from attach
1 parent bd8c484 commit f5cd4c7

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

docs/src/examples/query/plugins/query-attach-behavior/page.css

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@ html {
3636
}
3737

3838
.square {
39-
background-color: var(--red-5);
40-
border: var(--red-border);
39+
background-color: var(--inverted-100);
40+
border: var(--border);
41+
border-radius: var(--border-radius);
4142
width: var(--square-size);
4243
height: var(--square-size);
4344
min-width: var(--square-size-min);
@@ -46,13 +47,13 @@ html {
4647
font-size: 9px;
4748
padding: 5px;
4849
font-weight: bold;
49-
color: var(--red-text-color);
50+
color: var(--text-color);
5051
box-shadow: var(--shadow);
5152
text-align: center;
5253
align-content: center;
5354

5455
/* Make arrow match the square */
55-
--arrow-border-base: var(--red-border-color);
56-
--arrow-background: var(--red-5);
56+
--arrow-border-base: var(--border-color);
57+
--arrow-background: var(--inverted-100);
5758

5859
}

docs/src/examples/query/plugins/query-attach-behavior/page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="scroll">
1+
<div class="container">
22
<div class="box"></div>
33
<div class="square" data-position="top left">Top Left</div>
44
<div class="square" data-position="top">Top</div>

0 commit comments

Comments
 (0)