Soften border-radius on selected/hovered messages (#6525)

This commit is contained in:
Šimon Brandner
2021-10-20 16:33:23 +01:00
committed by GitHub
parent 2ee732b84d
commit c30029a8b1
2 changed files with 18 additions and 13 deletions
+2 -2
View File
@@ -22,10 +22,10 @@ limitations under the License.
$hover-transition: 0.08s cubic-bezier(.46, .03, .52, .96); // quadratic
$EventTile_e2e_state_indicator_width: 4px;
$selected-message-border-width: 4px;
$MessageTimestamp_width: 46px; /* 8 + 30 (avatar) + 8 */
$MessageTimestamp_width_hover: calc($MessageTimestamp_width - 2 * $EventTile_e2e_state_indicator_width);
$MessageTimestamp_width_hover: calc($MessageTimestamp_width - 2 * $selected-message-border-width);
$slider-dot-size: 1em;
$slider-selection-dot-size: 2.4em;