mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
remove unneeded logic
This commit is contained in:
@@ -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
|
||||
>
|
||||
|
@@ -256,7 +256,8 @@ body.signup-page {
|
||||
&.bad {
|
||||
color: var(--danger);
|
||||
}
|
||||
&.has-tip {
|
||||
&.good,
|
||||
&.bad {
|
||||
max-height: 50px;
|
||||
opacity: 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user