Skip to content

Commit cf3cdac

Browse files
committed
fix up UserSettings a bit
1 parent d0d4760 commit cf3cdac

5 files changed

Lines changed: 23 additions & 22 deletions

File tree

‎src/components/structures/RightPanel.js‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,10 @@ module.exports = React.createClass({
155155
panel = <MemberInfo roomId={this.props.roomId} member={this.state.member} key={this.props.roomId} />
156156
}
157157
}
158+
}
158159

160+
if (!panel) {
161+
panel = <div className="mx_RightPanel_blank"></div>;
159162
}
160163

161164
var classes = "mx_RightPanel mx_fadable";

‎src/skins/vector/css/matrix-react-sdk/structures/SearchBox.css‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ limitations under the License.
5454
}
5555

5656
.mx_SearchBox_maximise {
57-
margin-left: 6px;
57+
margin-left: 9px;
5858
}
5959

6060
.mx_SearchBox object {

‎src/skins/vector/css/matrix-react-sdk/structures/UserSettings.css‎

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,25 @@ limitations under the License.
5050
-webkit-flex: 1 1 0;
5151
flex: 1 1 0;
5252

53+
margin-top: -20px;
5354
overflow-y: auto;
5455
}
5556

57+
.mx_UserSettings h3 {
58+
clear: both;
59+
margin-left: 63px;
60+
text-transform: uppercase;
61+
color: #3d3b39;
62+
font-weight: 600;
63+
font-size: 13px;
64+
margin-top: 26px;
65+
margin-bottom: 10px;
66+
}
67+
68+
.mx_UserSettings_section h3 {
69+
margin-left: 0px;
70+
}
71+
5672
.mx_UserSettings_spinner {
5773
display: inline-block;
5874
vertical-align: middle;
@@ -78,22 +94,6 @@ limitations under the License.
7894
cursor: pointer;
7995
}
8096

81-
.mx_UserSettings h2 {
82-
clear: both;
83-
margin-top: 32px;
84-
margin-bottom: 8px;
85-
margin-left: 63px;
86-
padding-bottom: 6px;
87-
border-bottom: 1px solid #e5e5e5;
88-
}
89-
90-
.mx_UserSettings h3 {
91-
font-weight: bold;
92-
font-size: 15px;
93-
margin-top: 4px;
94-
margin-bottom: 4px;
95-
}
96-
9797
.mx_UserSettings_section {
9898
margin-left: 63px;
9999
margin-top: 28px;

‎src/skins/vector/css/vector-web/structures/RightPanel.css‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ limitations under the License.
8686
}
8787

8888
.mx_RightPanel .mx_MemberList,
89-
.mx_RightPanel .mx_MemberInfo {
89+
.mx_RightPanel .mx_MemberInfo,
90+
.mx_RightPanel_blank {
9091
-webkit-box-ordinal-group: 2;
9192
-moz-box-ordinal-group: 2;
9293
-ms-flex-order: 2;

‎src/skins/vector/img/maximise.svg‎

Lines changed: 1 addition & 4 deletions
Loading

0 commit comments

Comments
 (0)