Skip to content

Commit 6184ec7

Browse files
committed
fix: revert #1114
This reverts commit 500ce81.
1 parent 5824744 commit 6184ec7

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

packages/client/layouts/two-cols-header.vue

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ This shows on the left
1111
::right::
1212
# Right
1313
This shows on the right
14-
::bottom::
15-
# Bottom
16-
This shows at bottom, below left and right
1714
```
1815
-->
1916

@@ -39,9 +36,6 @@ const props = defineProps({
3936
<div class="col-right" :class="props.class">
4037
<slot name="right" />
4138
</div>
42-
<div class="col-bottom" :class="props.class">
43-
<slot name="bottom" />
44-
</div>
4539
</div>
4640
</template>
4741

@@ -52,8 +46,7 @@ const props = defineProps({
5246
grid-template-rows: repeat(2, 1fr);
5347
}
5448
55-
.col-header,
56-
.col-bottom { grid-column: -1/1; }
57-
.col-left,
58-
.col-right { grid-column: span 2; }
49+
.col-header { grid-area: 1 / 1 / 2 / 3; }
50+
.col-left { grid-area: 2 / 1 / 3 / 2; }
51+
.col-right { grid-area: 2 / 2 / 3 / 3; }
5952
</style>

0 commit comments

Comments
 (0)