Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Mark a few CSS classes as not selectable #2929

Merged
merged 1 commit into from
Apr 23, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions res/css/views/avatars/_BaseAvatar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ limitations under the License.
// https://bugzilla.mozilla.org/show_bug.cgi?id=1535053
// https://bugzilla.mozilla.org/show_bug.cgi?id=255139
display: inline-block;
user-select: none;
}

.mx_BaseAvatar_initial {
Expand Down
7 changes: 4 additions & 3 deletions res/css/views/rooms/_EventTile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ limitations under the License.
top: 14px;
left: 8px;
cursor: pointer;
user-select: none;
}

.mx_EventTile.mx_EventTile_info .mx_EventTile_avatar {
Expand Down Expand Up @@ -62,6 +63,7 @@ limitations under the License.
vertical-align: top;
height: 16px;
overflow: hidden;
user-select: none;

img {
vertical-align: -2px;
Expand All @@ -80,6 +82,7 @@ limitations under the License.
width: 46px; /* 8 + 30 (avatar) + 8 */
text-align: center;
position: absolute;
user-select: none;
}

.mx_EventTile_line, .mx_EventTile_reply {
Expand Down Expand Up @@ -226,9 +229,6 @@ limitations under the License.
width: 19px;
height: 19px;
background-image: url($edit-button-url);
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}

Expand All @@ -243,6 +243,7 @@ limitations under the License.
width: 14px;
height: 14px;
top: 29px;
user-select: none;
}

.mx_EventTile_continuation .mx_EventTile_readAvatars,
Expand Down