fix timestamp width if there is a 2e2 indicator bar

Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
This commit is contained in:
Michael Weimann 2021-01-31 11:11:34 +01:00
parent b24e64f6fe
commit 9b54aba4c0
No known key found for this signature in database
GPG key ID: 34F0524D4DA694A1
3 changed files with 10 additions and 6 deletions

View file

@ -21,6 +21,11 @@ limitations under the License.
$hover-transition: 0.08s cubic-bezier(.46, .03, .52, .96); // quadratic
$EventTile_e2e_state_indicator_width: 4px;
$MessageTimestamp_width: 46px; /* 8 + 30 (avatar) + 8 */
$MessageTimestamp_width_hover: calc($MessageTimestamp_width - 2 * $EventTile_e2e_state_indicator_width);
:root {
font-size: 10px;
}