Changed p to Text component
This commit is contained in:
@@ -333,7 +333,7 @@ function RoomViewInput({
|
|||||||
function renderInputs() {
|
function renderInputs() {
|
||||||
if (!canISend) {
|
if (!canISend) {
|
||||||
return (
|
return (
|
||||||
<p className="room-input__disallowed">You do not have permission to post to this room</p>
|
<Text className="room-input__disallowed">You do not have permission to post to this room</Text>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
min-height: 48px;
|
min-height: 48px;
|
||||||
|
|
||||||
&__disallowed {
|
&__disallowed {
|
||||||
color: var(--tc-surface-low);
|
|
||||||
flex: 1;
|
flex: 1;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user