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