fix: some style updates (#2396)

This commit is contained in:
Peng Xiao
2023-05-16 17:46:51 +08:00
committed by GitHub
parent a8b8986d89
commit a0ff520ba4
10 changed files with 95 additions and 19 deletions

View File

@@ -74,7 +74,7 @@ const NameWorkspaceContent = ({
data-testid="create-workspace-input"
onKeyDown={handleKeyDown}
placeholder={t['Set a Workspace name']()}
maxLength={15} // TODO: the max workspace name length?
maxLength={64}
minLength={0}
onChange={value => {
setWorkspaceName(value);

View File

@@ -137,7 +137,7 @@ export const GeneralPanel: React.FC<PanelProps> = ({
value={input}
data-testid="workspace-name-input"
placeholder={t['Workspace Name']()}
maxLength={50}
maxLength={64}
minLength={0}
onChange={newName => {
setInput(newName);