forked from mirrors/akkoma-fe
Make dive/undive button clickable along the whole row
This commit is contained in:
parent
8780246ce5
commit
0e4a7c3d05
2 changed files with 8 additions and 0 deletions
|
@ -134,6 +134,10 @@
|
||||||
border-bottom-style: solid;
|
border-bottom-style: solid;
|
||||||
border-bottom-color: var(--border, $fallback--border);
|
border-bottom-color: var(--border, $fallback--border);
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
|
/* Make the button stretch along the whole row */
|
||||||
|
display: flex;
|
||||||
|
align-items: stretch;
|
||||||
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* HACK: we want the border width to scale with the status *below it* */
|
/* HACK: we want the border width to scale with the status *below it* */
|
||||||
|
|
|
@ -119,5 +119,9 @@
|
||||||
.thread-tree-replies-hidden {
|
.thread-tree-replies-hidden {
|
||||||
padding: $status-margin;
|
padding: $status-margin;
|
||||||
border-top: 1px solid var(--border, $fallback--border);
|
border-top: 1px solid var(--border, $fallback--border);
|
||||||
|
/* Make the button stretch along the whole row */
|
||||||
|
display: flex;
|
||||||
|
align-items: stretch;
|
||||||
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in a new issue