Fixed topic field resizing
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
48cfd3f9da
commit
ffe2727cf7
2 changed files with 7 additions and 1 deletions
|
@ -14,6 +14,12 @@ See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
.mx_ProfileSettings_controls_topic {
|
||||||
|
& > textarea {
|
||||||
|
resize: vertical;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.mx_ProfileSettings_profile {
|
.mx_ProfileSettings_profile {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
|
@ -200,7 +200,7 @@ export default class RoomProfileSettings extends React.Component {
|
||||||
<Field label={_t("Room Name")}
|
<Field label={_t("Room Name")}
|
||||||
type="text" value={this.state.displayName} autoComplete="off"
|
type="text" value={this.state.displayName} autoComplete="off"
|
||||||
onChange={this._onDisplayNameChanged} disabled={!this.state.canSetName} />
|
onChange={this._onDisplayNameChanged} disabled={!this.state.canSetName} />
|
||||||
<Field id="profileTopic" label={_t("Room Topic")} disabled={!this.state.canSetTopic}
|
<Field className="mx_ProfileSettings_controls_topic" id="profileTopic" label={_t("Room Topic")} disabled={!this.state.canSetTopic}
|
||||||
type="text" value={this.state.topic} autoComplete="off"
|
type="text" value={this.state.topic} autoComplete="off"
|
||||||
onChange={this._onTopicChanged} element="textarea" />
|
onChange={this._onTopicChanged} element="textarea" />
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue