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