use inline_field

This commit is contained in:
SrGooglo 2023-08-20 03:17:32 +00:00
parent 101a41fe19
commit f120d35a22
2 changed files with 4 additions and 2 deletions

View File

@ -14,9 +14,9 @@ export default (props) => {
{streamingKeyVisibility ?
<>
<Icons.EyeOff onClick={() => toggleVisibility()} />
<code>
<div className="inline_field">
{props.streamingKey ?? "No streaming key available"}
</code>
</div>
</> :
<div
onClick={() => toggleVisibility()}

View File

@ -19,5 +19,7 @@
align-items: center;
justify-content: center;
user-select: all;
}
}