Make dive/undive button clickable along the whole row

This commit is contained in:
Tusooa Zhu 2021-08-08 13:29:49 -04:00
parent 8780246ce5
commit 0e4a7c3d05
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
2 changed files with 8 additions and 0 deletions

View file

@ -134,6 +134,10 @@
border-bottom-style: solid;
border-bottom-color: var(--border, $fallback--border);
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* */

View file

@ -119,5 +119,9 @@
.thread-tree-replies-hidden {
padding: $status-margin;
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>