ソースを参照

Password input text tweak

jerryliao 2 ヶ月 前
コミット
9ff9612681
1 ファイル変更4 行追加2 行削除
  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;