fix: style on password button (#3037)
* fix: update TextAreaComponent styling for edit node table Adjust the styling of the TextAreaComponent in the edit node table to fix the positioning of eye icon * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
6fa3c7b17d
commit
e15e70d43c
2 changed files with 5 additions and 7 deletions
1
src/frontend/package-lock.json
generated
1
src/frontend/package-lock.json
generated
|
|
@ -1078,7 +1078,6 @@
|
||||||
},
|
},
|
||||||
"node_modules/@clack/prompts/node_modules/is-unicode-supported": {
|
"node_modules/@clack/prompts/node_modules/is-unicode-supported": {
|
||||||
"version": "1.3.0",
|
"version": "1.3.0",
|
||||||
"extraneous": true,
|
|
||||||
"inBundle": true,
|
"inBundle": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|
|
||||||
|
|
@ -38,8 +38,7 @@ export default function TextAreaComponent({
|
||||||
? "text-clip password"
|
? "text-clip password"
|
||||||
: "",
|
: "",
|
||||||
editNode ? "input-edit-node" : "",
|
editNode ? "input-edit-node" : "",
|
||||||
password && editNode ? "pr-8" : "",
|
password != undefined ? "pr-8" : "",
|
||||||
password && !editNode ? "pr-10" : "",
|
|
||||||
"w-full",
|
"w-full",
|
||||||
)}
|
)}
|
||||||
placeholder={"Type something..."}
|
placeholder={"Type something..."}
|
||||||
|
|
@ -78,11 +77,11 @@ export default function TextAreaComponent({
|
||||||
</div>
|
</div>
|
||||||
</GenericModal>
|
</GenericModal>
|
||||||
{password !== undefined && (
|
{password !== undefined && (
|
||||||
<button
|
<Button
|
||||||
type="button"
|
unstyled
|
||||||
tabIndex={-1}
|
tabIndex={-1}
|
||||||
className={classNames(
|
className={classNames(
|
||||||
"mb-px",
|
"mb-px text-muted-foreground hover:text-current",
|
||||||
editNode
|
editNode
|
||||||
? "side-bar-button-size absolute bottom-[1.3rem] right-[4.2rem]"
|
? "side-bar-button-size absolute bottom-[1.3rem] right-[4.2rem]"
|
||||||
: "side-bar-button-size absolute bottom-4 right-[4.2rem]",
|
: "side-bar-button-size absolute bottom-4 right-[4.2rem]",
|
||||||
|
|
@ -126,7 +125,7 @@ export default function TextAreaComponent({
|
||||||
/>
|
/>
|
||||||
</svg>
|
</svg>
|
||||||
)}
|
)}
|
||||||
</button>
|
</Button>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue