Browse Source

Fixes selection issues on iOS devices (#671)

Mico 4 năm trước cách đây
mục cha
commit
5f31e86e0e
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      src/sass/tweet/_base.scss

+ 3 - 0
src/sass/tweet/_base.scss

@@ -100,6 +100,7 @@
 .avatar {
 .avatar {
     &.round {
     &.round {
         border-radius: 50%;
         border-radius: 50%;
+        -webkit-user-select: none;
     }
     }
     
     
     &.mini {
     &.mini {
@@ -200,6 +201,7 @@
 
 
 .tweet-stats {
 .tweet-stats {
     margin-bottom: -3px;
     margin-bottom: -3px;
+    -webkit-user-select: none;
 }
 }
 
 
 .tweet-stat {
 .tweet-stat {
@@ -231,6 +233,7 @@
     left: 0;
     left: 0;
     top: 0;
     top: 0;
     position: absolute;
     position: absolute;
+    -webkit-user-select: none;
 
 
     &:hover {
     &:hover {
         background-color: var(--bg_hover);
         background-color: var(--bg_hover);