Skip to content

Commit 0eceb73

Browse files
committed
Remove scrollbars by removing overflow: scroll in places. Add a title for hover over on long (or otherwise) topics.
1 parent 64727cb commit 0eceb73

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎skins/base/css/molecules/RoomHeader.css‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,8 @@ limitations under the License.
127127
font-weight: 300;
128128
padding-left: 16px;
129129
padding-right: 16px;
130-
overflow-y: scroll;
130+
overflow: hidden;
131+
text-overflow: ellipsis;
131132
}
132133

133134
.mx_RoomHeader_avatar {

‎skins/base/css/organisms/RoomView.css‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ limitations under the License.
5454

5555
border-bottom: 1px solid #a8dbf3;
5656

57-
overflow: scroll;
5857
-webkit-flex: 0 0 auto;
5958
flex: 0 0 auto;
6059
}

‎skins/base/views/molecules/RoomHeader.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ module.exports = React.createClass({
8282
<div className="mx_RoomHeader_name">
8383
<EditableText label={this.props.room.name} initialValue={actual_name} placeHolder="Name" onValueChanged={this.onNameChange} />
8484
</div>
85-
if (topic) topic_el = <div className="mx_RoomHeader_topic">{ topic.getContent().topic }</div>;
85+
if (topic) topic_el = <div className="mx_RoomHeader_topic" title={topic.getContent().topic}>{ topic.getContent().topic }</div>;
8686
settings_button = (
8787
<div className="mx_RoomHeader_button" onClick={this.props.onSettingsClick}>
8888
<img src="img/settings.png" width="32" height="32"/>

0 commit comments

Comments
 (0)