better fields
This commit is contained in:
parent
20beb30fc3
commit
50314fe253
2 changed files with 13 additions and 12 deletions
|
|
@ -424,6 +424,8 @@
|
|||
|
||||
.user-profile-fields {
|
||||
margin: 0 0.5em;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
--emoji-size: 1.8em;
|
||||
|
||||
|
|
@ -446,6 +448,7 @@
|
|||
|
||||
.user-profile-field-add {
|
||||
justify-content: center;
|
||||
margin: 0.25em;
|
||||
}
|
||||
|
||||
.user-profile-field {
|
||||
|
|
|
|||
|
|
@ -442,7 +442,7 @@
|
|||
</template>
|
||||
</EmojiInput>
|
||||
<button
|
||||
class="delete-field button-unstyled -hover-highlight"
|
||||
class="delete-field button-default -hover-highlight"
|
||||
@click="deleteField(i)"
|
||||
>
|
||||
<!-- TODO something is wrong with v-show here -->
|
||||
|
|
@ -453,17 +453,15 @@
|
|||
</button>
|
||||
</dd>
|
||||
</dl>
|
||||
<p class="user-profile-field-add">
|
||||
<button
|
||||
v-if="newFields.length < maxFields"
|
||||
class="add-field faint button-unstyled -hover-highlight"
|
||||
class="user-profile-field-add add-field button-default -hover-highlight"
|
||||
@click="addField"
|
||||
>
|
||||
<FAIcon icon="plus" />
|
||||
{{ ' ' }}
|
||||
{{ $t("settings.profile_fields.add_field") }}
|
||||
</button>
|
||||
</p>
|
||||
</div>
|
||||
</template>
|
||||
<div
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue