fix grid on blog preview
This commit is contained in:
parent
0a72d5a203
commit
20836cd502
@ -724,6 +724,14 @@ video {
|
|||||||
grid-template-columns: 1fr 2fr;
|
grid-template-columns: 1fr 2fr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.grid-cols-\[min-content_1fr\] {
|
||||||
|
grid-template-columns: min-content 1fr;
|
||||||
|
}
|
||||||
|
|
||||||
|
.grid-cols-\[max-content_1fr\] {
|
||||||
|
grid-template-columns: max-content 1fr;
|
||||||
|
}
|
||||||
|
|
||||||
.flex-row {
|
.flex-row {
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<article class="grid grid-cols-[1fr_2fr] grid-flow-col gap-4">
|
<article class="grid grid-cols-[max-content_1fr] grid-flow-col gap-4">
|
||||||
<aside class="row-span-3">
|
<aside class="row-span-3">
|
||||||
{% match post.metadata.thumbnail %}
|
{% match post.metadata.thumbnail %}
|
||||||
{% when Some with (orig_path) %}
|
{% when Some with (orig_path) %}
|
||||||
|
Loading…
Reference in New Issue
Block a user