Merge pull request #2653 from matrix-org/benp/prevent-accidental-username-clicking

make mx_SenderProfile inline-block, reduces clickable area around usernames
pull/21833/head
J. Ryan Stinnett 2019-02-19 12:26:27 +00:00 committed by GitHub
commit e7a84b33e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -45,14 +45,14 @@ limitations under the License.
.mx_EventTile .mx_SenderProfile {
color: $primary-fg-color;
font-size: 14px;
display: block; /* anti-zalgo, with overflow hidden */
display: inline-block; /* anti-zalgo, with overflow hidden */
overflow-y: hidden;
cursor: pointer;
padding-left: 65px; /* left gutter */
padding-bottom: 0px;
padding-top: 0px;
margin: 0px;
line-height: 22px;
line-height: 17px;
}
.mx_EventTile .mx_SenderProfile .mx_Flair {