Improve clickability of view source event toggle button (#9068)

* Improve clickability of view source event toggle button

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Fix compression

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Make it easy to select subsequent events

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
This commit is contained in:
Suguru Hirahara
2022-07-18 09:41:01 +02:00
committed by GitHub
parent b90ea87d11
commit 38a913488f
3 changed files with 31 additions and 0 deletions
@@ -66,6 +66,14 @@ limitations under the License.
top: 0;
left: 0;
}
.mx_EventTile_info .mx_ViewSourceEvent ~ & {
// improve clickability of view source event toggle button by removing vertical safe area
width: 100%;
height: 100%;
top: 0;
left: 0;
}
}
>* {
@@ -41,6 +41,7 @@ limitations under the License.
mask-position: 0 center;
mask-size: auto 12px;
width: 12px;
min-width: 12px;
background-color: $accent;
mask-image: url("$(res)/img/element-icons/maximise-expand.svg");
}