Ver Fonte

Add adaptive padding for user and assistant messages on width <= 1480px

sigseg5 há 6 meses atrás
pai
commit
9525c0e7a7
1 ficheiros alterados com 8 adições e 0 exclusões
  1. 8 0
      exo/tinychat/index.css

+ 8 - 0
exo/tinychat/index.css

@@ -139,6 +139,14 @@ main {
   padding: 0.5rem 1rem;
   border-radius: 20px;
 }
+
+@media(max-width: 1482px) {
+  .messages {
+    padding-left: 16px;
+    padding-right: 16px;
+  }
+}
+
 .message-role-assistant {
   background-color: var(--secondary-color);
   margin-right: auto;