Ver código fonte

Password input text tweak

jerryliao 2 semanas atrás
pai
commit
9ff9612681
1 arquivos alterados com 4 adições e 2 exclusões
  1. 4 2
      islands/TopBar.tsx

+ 4 - 2
islands/TopBar.tsx

@@ -77,10 +77,12 @@ export default function TopBar(props: TopBarProps) {
             shareData["shared"] ? "flex" : "none"
             shareData["shared"] ? "flex" : "none"
           }; align-items: center; margin-top: 12px`}
           }; align-items: center; margin-top: 12px`}
         >
         >
-          <span style="margin-right: 8px; white-space: nowrap">Password</span>
+          <span style="margin-right: 8px; white-space: nowrap">
+            Password (optional)
+          </span>
           <Input
           <Input
             type="password"
             type="password"
-            placeholder="Optional"
+            placeholder="Password"
             value={shareData["password"] as string}
             value={shareData["password"] as string}
             onInput={(e) => {
             onInput={(e) => {
               shareData["password"] = (e.target as HTMLInputElement).value;
               shareData["password"] = (e.target as HTMLInputElement).value;