remove unneeded logic

This commit is contained in:
Jordan Vidrine
2024-12-17 07:02:43 -06:00
parent 318f7608f8
commit 3146d6e78c
2 changed files with 5 additions and 4 deletions

View File

@@ -1,10 +1,10 @@
import icon from "discourse-common/helpers/d-icon";
const InputTip = <template>
const InputTip =
<template>
<div
class="tip
{{if @validation.failed 'bad' 'good'}}
{{if @validation.reason 'has-tip'}}"
{{if @validation.failed 'bad' 'good'}}"
id={{@id}}
...attributes
>

View File

@@ -256,7 +256,8 @@ body.signup-page {
&.bad {
color: var(--danger);
}
&.has-tip {
&.good,
&.bad {
max-height: 50px;
opacity: 1;
}