[fix] simple theme: style password inputs like text inputs

The AI summary API key is a password input, the preferences stylesheet
only styled input[type="text"] -- the field rendered with the browser
default (white) instead of the theme background.

The description of the field is shortened to what a user needs to decide
whether to fill it in.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
jasonwitty
2026-08-08 21:24:45 -07:00
parent 8edc368752
commit c7e8bba488
4 changed files with 7 additions and 5 deletions
+4 -2
View File
@@ -35,7 +35,8 @@ table {
width: 300px;
}
input[type="text"] {
input[type="text"],
input[type="password"] {
width: 13.25rem;
color: var(--color-toolkit-input-text-font);
border: none;
@@ -65,7 +66,8 @@ table {
width: 15em;
select,
input[type="text"] {
input[type="text"],
input[type="password"] {
font-size: inherit !important;
margin-top: 0;
.ltr-margin-right(1rem);
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -25,7 +25,7 @@
value="{{ preferences.get_value('ai_summary_api_key') }}">{{- '' -}}
</div>{{- '' -}}
<div class="description">
{{- _('Only needed if the server URL above is your own server and it requires authentication. Leave empty for a server without authentication and for the default server of this instance (which uses the key of the administrator, never yours). The key is stored in a cookie in your browser and is not part of the preferences URL.') -}}
{{- _('Optional, only needed if your server requires authentication.') -}}
</div>{{- '' -}}
</fieldset>{{- '' -}}
{%- endif -%}