mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 18:44:16 +00:00
use inline_field
This commit is contained in:
parent
7f3e1f3093
commit
4ac9e8fc28
@ -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()}
|
||||||
|
@ -19,5 +19,7 @@
|
|||||||
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
||||||
|
user-select: all;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user