diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-11-03 14:04:19 +0100 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2022-11-21 16:29:04 +0100 |
commit | d847eacfbde90a2d4532f9c541d427be17b078bd (patch) | |
tree | efae124501254254430c3944d135faa364c6e251 /apps/settings/src | |
parent | 86d9626901b619223eda77aeb2f2197c8c65da69 (diff) | |
download | nextcloud-server-d847eacfbde90a2d4532f9c541d427be17b078bd.tar.gz nextcloud-server-d847eacfbde90a2d4532f9c541d427be17b078bd.zip |
Refactor profile info settings
- Make it possible to add the new property whiout chaning foundamentally
how the layout work each time
- Use only one grid instead of multiple nested grid
- Better mobile reponsiveness
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'apps/settings/src')
-rw-r--r-- | apps/settings/src/components/PersonalInfo/AvatarSection.vue | 3 | ||||
-rw-r--r-- | apps/settings/src/constants/AccountPropertyConstants.js | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/apps/settings/src/components/PersonalInfo/AvatarSection.vue b/apps/settings/src/components/PersonalInfo/AvatarSection.vue index e018023508a..54f85ee7f67 100644 --- a/apps/settings/src/components/PersonalInfo/AvatarSection.vue +++ b/apps/settings/src/components/PersonalInfo/AvatarSection.vue @@ -276,6 +276,9 @@ export default { </script> <style lang="scss" scoped> +section { + grid-row: 1/3; +} .avatar { &__container { margin: 0 auto; diff --git a/apps/settings/src/constants/AccountPropertyConstants.js b/apps/settings/src/constants/AccountPropertyConstants.js index e4ced1b4ee9..241fe7b627d 100644 --- a/apps/settings/src/constants/AccountPropertyConstants.js +++ b/apps/settings/src/constants/AccountPropertyConstants.js @@ -59,7 +59,7 @@ export const ACCOUNT_PROPERTY_READABLE_ENUM = Object.freeze({ PROFILE_ENABLED: t('settings', 'Profile'), ROLE: t('settings', 'Role'), TWITTER: t('settings', 'Twitter'), - MASTODON: t('settings', 'Mastodon'), + MASTODON: t('settings', 'Fediverse (e.g. Mastodon)'), WEBSITE: t('settings', 'Website'), }) |