use inline_field

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

View File

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

View File

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