Merge pull request #3958 from mstange/fix-unread-scroll-button-hittarget-and-alignment

Tweak styling of the unread indicator circle.
pull/21833/head
J. Ryan Stinnett 2020-01-28 21:53:50 +00:00 committed by GitHub
commit 463bddb7e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 9 deletions

View File

@ -25,19 +25,16 @@ limitations under the License.
} }
.mx_TopUnreadMessagesBar::after { .mx_TopUnreadMessagesBar::after {
content: "·"; content: "";
position: absolute; position: absolute;
top: -8px; top: -8px;
left: 11px; left: 11px;
width: 16px; width: 4px;
height: 16px; height: 4px;
border-radius: 16px; border-radius: 16px;
font-weight: 600; overflow: hidden;
font-size: 30px; background-color: $secondary-accent-color;
line-height: 14px; border: 6px solid $accent-color;
text-align: center;
color: $secondary-accent-color;
background-color: $accent-color;
} }
.mx_TopUnreadMessagesBar_scrollUp { .mx_TopUnreadMessagesBar_scrollUp {