Wrangle CSS to get avatar on UserSettings in the right place

This commit is contained in:
Kegan Dougal 2015-12-24 09:21:02 +00:00
parent f9f85ec542
commit 94609db3a6
2 changed files with 26 additions and 4 deletions

View File

@ -62,12 +62,18 @@ limitations under the License.
margin-bottom: 28px; margin-bottom: 28px;
} }
.mx_UserSettings_profileTable, .mx_UserSettings_accountTable
.mx_UserSettings_notifTable .mx_UserSettings_notifTable
{ {
display: table; display: table;
} }
.mx_UserSettings_profileTable
{
display: table;
float: left;
}
.mx_UserSettings_profileTableRow, .mx_UserSettings_profileTableRow,
.mx_UserSettings_notifTableRow .mx_UserSettings_notifTableRow
{ {
@ -130,13 +136,30 @@ limitations under the License.
.mx_UserSettings_avatarPicker { .mx_UserSettings_avatarPicker {
width: 320px; width: 320px;
float: right;
} }
.mx_UserSettings_avatarPicker_edit { .mx_UserSettings_avatarPicker_edit {
margin: auto; position: relative;
width: 60%; left: 50%;
display: inline-block;
margin-top: 10px;
} }
.mx_UserSettings_avatarPicker_edit > input{ .mx_UserSettings_avatarPicker_edit > input{
display: none; display: none;
}
.mx_UserSettings_avatarPicker_edit > label {
cursor: pointer;
}
.mx_UserSettings_avatarPicker_img {
margin: 0 auto;
width: 75%;
}
.mx_UserSettings_avatarPicker_img > img {
display: block;
margin: 0 auto;
} }

View File

@ -1 +0,0 @@
../src/skins/vector/img