サムネイルがないとき変な角丸にならんようにする
This commit is contained in:
parent
02798e0809
commit
59206d6ef5
|
|
@ -46,17 +46,23 @@ const props = defineProps<{
|
||||||
color: var(--accent);
|
color: var(--accent);
|
||||||
}
|
}
|
||||||
|
|
||||||
> .thumbnail > * {
|
> .thumbnail {
|
||||||
width: 100%;
|
& + article {
|
||||||
height: 200px;
|
border-radius: 0 0 var(--radius) var(--radius);
|
||||||
border-radius: var(--radius) var(--radius) 0 0;
|
}
|
||||||
overflow: hidden;
|
|
||||||
|
> * {
|
||||||
|
width: 100%;
|
||||||
|
height: 200px;
|
||||||
|
border-radius: var(--radius) var(--radius) 0 0;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
> article {
|
> article {
|
||||||
background-color: var(--panel);
|
background-color: var(--panel);
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
border-radius: 0 0 var(--radius) var(--radius);
|
border-radius: var(--radius);
|
||||||
|
|
||||||
> header {
|
> header {
|
||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue