Browse Source

Merge pull request #2655 from ClarenceDan/main

Yifei Zhang 1 year ago
parent
commit
fbf6bc1979
2 changed files with 9 additions and 1 deletions
  1. 8 0
      app/components/chat.module.scss
  2. 1 1
      app/styles/globals.scss

+ 8 - 0
app/components/chat.module.scss

@@ -349,6 +349,14 @@
       padding: 7px;
     }
   }
+  /* Specific styles for iOS devices */
+  @media screen and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 2) {
+    @supports (-webkit-touch-callout: none) {
+      .chat-message-edit {
+        top: -8%;
+      }
+    }
+  }
 }
 
 .chat-message-status {

+ 1 - 1
app/styles/globals.scss

@@ -349,7 +349,7 @@ pre {
   justify-content: center;
   border: var(--border-in-light);
   box-shadow: var(--card-shadow);
-  border-radius: 10px;
+  border-radius: 11px;
 }
 
 .one-line {