[object Object]

← back to Exo

move model-selector styles to index.css

e68d06f4ef1780acb3c9e69160846ad8c9df1d76 · 2024-07-30 14:51:22 +0100 · Alex Cheema

Files touched

Diff

commit e68d06f4ef1780acb3c9e69160846ad8c9df1d76
Author: Alex Cheema <alexcheema123@gmail.com>
Date:   Tue Jul 30 14:51:22 2024 +0100

    move model-selector styles to index.css
---
 tinychat/examples/tinychat/index.css  | 19 +++++++++++++++++++
 tinychat/examples/tinychat/index.html | 21 ---------------------
 2 files changed, 19 insertions(+), 21 deletions(-)

diff --git a/tinychat/examples/tinychat/index.css b/tinychat/examples/tinychat/index.css
index 8f0908fb..84b04b86 100644
--- a/tinychat/examples/tinychat/index.css
+++ b/tinychat/examples/tinychat/index.css
@@ -291,3 +291,22 @@ p {
 .monospace {
   font-family: monospace;
 }
+
+.model-selector {
+  display: flex;
+  justify-content: center;
+  padding: 20px 0;
+}
+.model-selector select {
+  padding: 10px 20px;
+  font-size: 16px;
+  border: 1px solid #ccc;
+  border-radius: 5px;
+  background-color: #f8f8f8;
+  cursor: pointer;
+}
+.model-selector select:focus {
+  outline: none;
+  border-color: #007bff;
+  box-shadow: 0 0 0 2px rgba(0,123,255,.25);
+}
\ No newline at end of file
diff --git a/tinychat/examples/tinychat/index.html b/tinychat/examples/tinychat/index.html
index b95a26c1..e45c7f47 100644
--- a/tinychat/examples/tinychat/index.html
+++ b/tinychat/examples/tinychat/index.html
@@ -30,27 +30,6 @@
 
   <link rel="stylesheet" href="index.css">
   <link rel="stylesheet" href="common.css">
-
-  <style>
-    .model-selector {
-      display: flex;
-      justify-content: center;
-      padding: 20px 0;
-    }
-    .model-selector select {
-      padding: 10px 20px;
-      font-size: 16px;
-      border: 1px solid #ccc;
-      border-radius: 5px;
-      background-color: #f8f8f8;
-      cursor: pointer;
-    }
-    .model-selector select:focus {
-      outline: none;
-      border-color: #007bff;
-      box-shadow: 0 0 0 2px rgba(0,123,255,.25);
-    }
-  </style>
 </head>
 
 <body>

← 78db451d add pillow to main dependencies  ·  back to Exo  ·  increase max request size to send raw images, make image dow 0d45a855 →