mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 07:37:25 +01:00
update: styling and dropdown
This commit is contained in:
@@ -95,7 +95,6 @@
|
|||||||
<select-translated-array
|
<select-translated-array
|
||||||
v-model="newGroup.demographics"
|
v-model="newGroup.demographics"
|
||||||
:items="[
|
:items="[
|
||||||
'groupUseDefault',
|
|
||||||
'groupParentChildren',
|
'groupParentChildren',
|
||||||
'groupCouple',
|
'groupCouple',
|
||||||
'groupFriends',
|
'groupFriends',
|
||||||
@@ -103,12 +102,11 @@
|
|||||||
'groupManager',
|
'groupManager',
|
||||||
'groupTeacher'
|
'groupTeacher'
|
||||||
]"
|
]"
|
||||||
:value="groupUseDefault"
|
:placeholder="$t('groupUseDefault')"
|
||||||
class="group-input"
|
class="group-input"
|
||||||
@select="groupUseDefault"
|
:value="newGroup.demographics"
|
||||||
|
@select="newGroup.demographics = $event"
|
||||||
/>
|
/>
|
||||||
<!-- need to figure out what goes in @select
|
|
||||||
there's an error being thrown in the component, perhaps I can't reuse it? -->
|
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
v-if="type === 'party'"
|
v-if="type === 'party'"
|
||||||
@@ -185,7 +183,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.btn-payment {
|
.btn-payment {
|
||||||
margin-top: 1.5rem;
|
margin: 24px 112px 24px 112px;
|
||||||
|
width: 177px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.payment-options {
|
.payment-options {
|
||||||
@@ -263,10 +262,10 @@ export default {
|
|||||||
},
|
},
|
||||||
mixins: [paymentsMixin],
|
mixins: [paymentsMixin],
|
||||||
props: {
|
props: {
|
||||||
groupUseDefault: {
|
// groupUseDefault: {
|
||||||
type: String,
|
// type: String,
|
||||||
default: 'groupUseDefault',
|
// default: 'groupUseDefault',
|
||||||
},
|
// },
|
||||||
groupParentChildren: {
|
groupParentChildren: {
|
||||||
type: String,
|
type: String,
|
||||||
default: 'groupParentChildren',
|
default: 'groupParentChildren',
|
||||||
@@ -312,7 +311,7 @@ export default {
|
|||||||
leaderOnly: {
|
leaderOnly: {
|
||||||
challenges: false,
|
challenges: false,
|
||||||
},
|
},
|
||||||
demographics: '',
|
demographics: null,
|
||||||
},
|
},
|
||||||
activePage: 'create-group',
|
activePage: 'create-group',
|
||||||
type: 'guild', // Guild or Party @TODO enum this
|
type: 'guild', // Guild or Party @TODO enum this
|
||||||
|
|||||||
Reference in New Issue
Block a user