diff --git a/app/renderer/css/preference.css b/app/renderer/css/preference.css index 89f1c0436..dbc79d467 100644 --- a/app/renderer/css/preference.css +++ b/app/renderer/css/preference.css @@ -238,7 +238,8 @@ img.server-info-icon { max-width: 450px; } -.setting-input-value:focus { +.setting-input-value:focus, +label.setting-input-value:focus-within { border: rgb(78 191 172 / 100%) 2px solid; } @@ -246,6 +247,34 @@ img.server-info-icon { border: rgb(239 83 80 / 100%) 2px solid; } +.setting-input-add-server, +.add-server-domain, +.server-url-size-calc { + outline: 0; + margin: 0; + padding: 0; + border: 0; + float: left; + font-family: inherit; + font-size: inherit; + line-height: inherit; + color: rgb(34 44 49 / 100%); + background: inherit; +} + +.setting-input-add-server { + width: 34ch; +} + +.setting-input-add-server:focus + .add-server-domain { + color: inherit; +} + +.server-url-size-calc { + visibility: hidden; + height: 0; +} + .manual-proxy-block { width: 96%; } diff --git a/app/renderer/js/pages/preference/new-server-form.ts b/app/renderer/js/pages/preference/new-server-form.ts index 2d7fe4db7..96c60a4f3 100644 --- a/app/renderer/js/pages/preference/new-server-form.ts +++ b/app/renderer/js/pages/preference/new-server-form.ts @@ -17,11 +17,15 @@ export function initNewServerForm({$root, onChange}: NewServerFormProps): void {