diff --git a/src/components/emoji_input/emoji_input.vue b/src/components/emoji_input/emoji_input.vue
index a7e98db95..057e6aa5c 100644
--- a/src/components/emoji_input/emoji_input.vue
+++ b/src/components/emoji_input/emoji_input.vue
@@ -124,7 +124,7 @@
margin: 0.2em 0.25em;
font-size: 1.3em;
cursor: pointer;
- line-height: 24px;
+ line-height: 1.2em;
&:hover i {
color: var(--text);
@@ -134,7 +134,7 @@
.emoji-picker-panel {
position: absolute;
z-index: 20;
- margin-top: 2px;
+ margin-top: 0.2em;
&.hide {
display: none;
@@ -153,7 +153,7 @@
}
&.with-picker input {
- padding-right: 30px;
+ padding-right: 2em;
}
.hidden-overlay {
@@ -216,8 +216,8 @@
}
.detailText {
- font-size: 9px;
- line-height: 9px;
+ font-size: 0.6em;
+ line-height: 0.6em;
}
}
}
diff --git a/src/components/settings_modal/tabs/profile_tab.vue b/src/components/settings_modal/tabs/profile_tab.vue
index f25349b24..6300746ff 100644
--- a/src/components/settings_modal/tabs/profile_tab.vue
+++ b/src/components/settings_modal/tabs/profile_tab.vue
@@ -7,21 +7,6 @@
:switcher="false"
rounded="top"
/>
-
{{ $t('settings.name') }}
-
-
-
-
-
diff --git a/src/components/user_card/user_card.js b/src/components/user_card/user_card.js
index f7237a1d8..148f93985 100644
--- a/src/components/user_card/user_card.js
+++ b/src/components/user_card/user_card.js
@@ -91,6 +91,7 @@ export default {
// Editable stuff
newName: user.name_unescaped,
+ editingName: true,
newActorType: user.actor_type,
newBio: unescape(user.description),
editingBio: false,
diff --git a/src/components/user_card/user_card.scss b/src/components/user_card/user_card.scss
index 92dbd0315..7e26c005f 100644
--- a/src/components/user_card/user_card.scss
+++ b/src/components/user_card/user_card.scss
@@ -263,6 +263,31 @@
--link: var(--text) !important;
}
+ .name-wrapper {
+ display: flex;
+ align-items: baseline;
+
+ .edit-button {
+ width: 3em;
+ text-align: center;
+ }
+
+ .input,
+ .user-name {
+ flex: 1;
+ font-weight: 600;
+ line-height: 2;
+ margin-right: 1em;
+ text-overflow: ellipsis;
+ overflow: hidden;
+ }
+
+ .input {
+ margin: 0 -0.5em;
+ padding: 0 0.5em;
+ }
+ }
+
.top-line {
display: flex;
flex-direction: column;
@@ -271,8 +296,6 @@
// these two normalize position and height when custom emoji are used
line-height: 2;
margin-bottom: -0.2em;
- font-weight: 600;
- font-size: 110%;
font-size: calc(max(110%, 4cqw));
}
@@ -306,13 +329,6 @@
}
}
- .user-name {
- text-overflow: ellipsis;
- overflow: hidden;
- margin-right: 1em;
- font-size: 1.1em;
- }
-
.highlighter {
margin: 5em;
align-items: baseline;
diff --git a/src/components/user_card/user_card.vue b/src/components/user_card/user_card.vue
index 2c0298c97..37b5015f5 100644
--- a/src/components/user_card/user_card.vue
+++ b/src/components/user_card/user_card.vue
@@ -122,16 +122,45 @@
/>
-
-
-
+
+
+
+
+
+
+
+
+
+
+