Limit reactions row on initial display

This limits the reactions row below messages to initially show at most 8 keys.
For those messages with more than that, a "Show all" option appears to reveal
all the keys.

Fixes https://github.com/vector-im/riot-web/issues/9570
This commit is contained in:
J. Ryan Stinnett 2019-06-27 13:05:04 +01:00
parent a424c3de5c
commit 59b4a3398d
3 changed files with 42 additions and 3 deletions

View file

@ -18,3 +18,17 @@ limitations under the License.
margin: 6px 0;
color: $primary-fg-color;
}
.mx_ReactionsRow_showAll {
text-decoration: none;
font-size: 10px;
font-weight: 600;
margin-left: 6px;
vertical-align: top;
&:hover,
&:link,
&:visited {
color: $accent-color;
}
}