Improve clickability of "collapse" link button on bubble layout (#9037)

This commit is contained in:
Suguru Hirahara 2022-07-16 09:31:29 +00:00 committed by GitHub
parent 48552c2342
commit 161a333a51
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 0 deletions

View file

@ -54,6 +54,18 @@ limitations under the License.
left: -58px;
z-index: -1;
cursor: initial;
/* stylelint-disable-next-line max-line-length */
.mx_GenericEventListSummary[data-layout="bubble"] .mx_GenericEventListSummary_toggle ~ .mx_GenericEventListSummary_unstyledList .mx_EventTile_info:first-of-type & {
// improve clickability of "collapse" link button on bubble layout by reducing width and height values
// mx_GenericEventListSummary_toggle ~: to apply rules to action bar when "collapse" button is available
// mx_EventTile_info:first-of-type: to apply rules to the info event tile just under "collapse" button
// TODO: use a new class name instead
width: 100%;
height: 100%;
top: 0;
left: 0;
}
}
>* {