mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-23 09:41:20 +03:00
e48110d7c6
* Disable profile controls if the HS doesn't allow them to be set Also updates to the js-sdk interface changes in https://github.com/matrix-org/matrix-js-sdk/pull/4246 * Remove unnecessary await * Pass disabled prop to accessiblebutton in avatarsetting * Move the account management button The section it lives in with the server name goes, and the button just lives on its own in the profile section. * Update test * Revert bits of previous PR that are no longer wanted because we squash merge so git can no longer make sense of what changes have been applied. * More squash-merge fails * More more squash merge fails
67 lines
1.7 KiB
Text
67 lines
1.7 KiB
Text
/*
|
|
Copyright 2019, 2020, 2024 The Matrix.org Foundation C.I.C.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
.mx_UserProfileSettings {
|
|
border-bottom: 1px solid $quinary-content;
|
|
|
|
.mx_UserProfileSettings_profile {
|
|
display: flex;
|
|
margin-top: var(--cpd-space-6x);
|
|
gap: 16px;
|
|
|
|
.mx_UserProfileSettings_profile_displayName {
|
|
flex-grow: 1;
|
|
width: 100%;
|
|
gap: 0;
|
|
}
|
|
}
|
|
|
|
.mx_UserProfileSettings_profile_controls {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.mx_UserProfileSettings_profile_controls_userId {
|
|
width: 100%;
|
|
margin-top: var(--cpd-space-4x);
|
|
.mx_CopyableText {
|
|
margin-top: var(--cpd-space-1x);
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
}
|
|
|
|
.mx_UserProfileSettings_profile_controls_userId_label {
|
|
font-size: 15px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.mx_UserProfileSettings_profile_buttons {
|
|
margin-top: var(--cpd-space-8x);
|
|
margin-bottom: var(--cpd-space-8x);
|
|
}
|
|
|
|
.mx_UserProfileSettings_accountmanageIcon {
|
|
margin-right: var(--cpd-space-2x);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.mx_UserProfileSettings_profile {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 30px;
|
|
}
|
|
}
|