diff --git a/src/elements.tsx b/src/elements.tsx index ef13db01..770dbac4 100644 --- a/src/elements.tsx +++ b/src/elements.tsx @@ -169,7 +169,6 @@ class InlineSettingsTextEdit extends React.Component<{text : string, value : str return (
{this.props.text} -
); } diff --git a/src/settings.tsx b/src/settings.tsx index 09563fe5..6766fa67 100644 --- a/src/settings.tsx +++ b/src/settings.tsx @@ -978,15 +978,18 @@ class RemotesModal extends React.Component<{}, {}> { -
+
Alias
this.editAlias(remote.remoteid, val)} text={remoteAliasText ?? ""} value={remote.remotealias} placeholder="" maxLength={50}/>
Auth Type
-
this.editAuthSettings()}> - {remote.authtype} - +
+ {remote.authtype} +
this.editAuthSettings()} className="button is-plain is-outlined is-small is-inline-height ml-2 update-auth-button"> + + Update Auth Settings +
diff --git a/src/sh2.less b/src/sh2.less index f56e1320..9e4904e8 100644 --- a/src/sh2.less +++ b/src/sh2.less @@ -2915,6 +2915,22 @@ input[type=checkbox] { height: 22px; } } + + .settings-field { + .update-auth-button { + visibility: hidden; + } + + &:hover { + .update-auth-button { + visibility: visible; + } + + .hide-hover { + display: none; + } + } + } } } } @@ -3045,6 +3061,11 @@ input[type=checkbox] { &.inline-edit.edit-not-active { cursor: pointer; + + &:hover { + text-decoration: underline; + text-decoration-style: dotted; + } } &.settings-clickable {