mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
further style settings page
This commit is contained in:
parent
d8f8342a10
commit
1fe3f646dc
@ -547,22 +547,37 @@ ul.Timeline > li.messageStatus .message-container > p {
|
|||||||
margin-left: 12px;
|
margin-left: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.Settings {
|
.SettingsBody {
|
||||||
flex: 1;
|
padding: 12px 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.Settings .row .label {
|
.Settings .row .label {
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
.Settings .row.key .content {
|
.Settings .row .label, .Settings .row .content {
|
||||||
|
margin-top: 4px;
|
||||||
|
margin-bottom: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.Settings .row .content {
|
||||||
|
margin-left: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.Settings .row.code .content {
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.Settings .row .content button {
|
||||||
|
display: inline-block;
|
||||||
|
margin: 0 8px;
|
||||||
|
}
|
||||||
|
|
||||||
.Settings .row {
|
.Settings .row {
|
||||||
margin: 12px;
|
margin: 4px 0px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.Settings .row .label {
|
.Settings .row .label {
|
||||||
|
@ -71,10 +71,10 @@ class SettingsView extends TemplateView {
|
|||||||
t.a({className: "button-utility close-middle", href: vm.closeUrl, title: vm.i18n`Close settings`}),
|
t.a({className: "button-utility close-middle", href: vm.closeUrl, title: vm.i18n`Close settings`}),
|
||||||
t.h2("Settings")
|
t.h2("Settings")
|
||||||
]),
|
]),
|
||||||
t.div([
|
t.div({className: "SettingsBody"}, [
|
||||||
row(vm.i18n`User ID`, vm.userId),
|
row(vm.i18n`User ID`, vm.userId),
|
||||||
row(vm.i18n`Session ID`, vm.deviceId),
|
row(vm.i18n`Session ID`, vm.deviceId, "code"),
|
||||||
row(vm.i18n`Session key`, vm.fingerprintKey, "key"),
|
row(vm.i18n`Session key`, vm.fingerprintKey, "code"),
|
||||||
row(vm.i18n`Version`, version),
|
row(vm.i18n`Version`, version),
|
||||||
])
|
])
|
||||||
]);
|
]);
|
||||||
|
Loading…
Reference in New Issue
Block a user