|
21 | 21 | <MenuButton v-on:click.native="showSetting('profile')" v-bind:class="{'md:px-8':true, 'md:bg-gray-200': getShow === 'profile'}" v-bind:text="'Profile'"></MenuButton> |
22 | 22 | </div> |
23 | 23 | </section> |
24 | | - <section v-if="getShow === 'account'" class="flex flex-col items-start z-10 absolute bg-white-matcha px-8 pb-4 w-full top-0 left-0 h-screen md:h-auto md:ml-4 md:relative md:shadow-md md:rounded-md"> |
| 24 | + <section v-if="getShow === 'account'" class="flex flex-col items-center z-10 absolute bg-white-matcha px-8 pb-4 w-full top-0 left-0 h-screen md:h-auto md:ml-4 md:relative md:shadow-md md:rounded-md"> |
25 | 25 | <SectionHeader v-bind:name="'account'" v-on:click.native="closeSetting()"></SectionHeader> |
26 | 26 | <AccountInput |
27 | 27 | v-bind:name="'First Name'" |
|
45 | 45 | v-bind:currentValuePassed="''"></AccountInput> |
46 | 46 | </section> |
47 | 47 | <section v-if="getShow === 'profile'" class="overflow-scroll profile-section flex flex-col items-start z-10 absolute bg-white-matcha w-full top-0 left-0 md:ml-4 md:relative md:shadow-md md:rounded-md"> |
48 | | - <SectionHeader v-bind:name="'profile'" v-on:click.native="closeSetting()"></SectionHeader> |
49 | | - <div class="pb-4"> |
50 | | - <div class="px-8"> |
| 48 | + <SectionHeader class="mx-auto" v-bind:name="'profile'" v-on:click.native="closeSetting()"></SectionHeader> |
| 49 | + <div class="py-8 px-8 w-full"> |
| 50 | + <div class="mx-auto max-w-sm"> |
51 | 51 | <h1 class="inline-block mr-4 text-gray-matcha">I am</h1> |
52 | 52 | <DropdownDisplayChoice |
53 | 53 | class="inline-block" |
|
56 | 56 | v-bind:starting-option="this.$store.getters.getLoggedInUser.gender" |
57 | 57 | v-bind:options="['male', 'female', 'other']"></DropdownDisplayChoice> |
58 | 58 | </div> |
59 | | - <div class="px-8 mt-4"> |
| 59 | + <div class="mt-4 mx-auto max-w-sm"> |
60 | 60 | <h1 class="inline-block mr-4 text-gray-matcha">Sexuality</h1> |
61 | 61 | <DropdownDisplayChoice |
62 | 62 | class="inline-block" |
|
65 | 65 | v-bind:starting-option="this.$store.getters.getLoggedInUser.orientation" |
66 | 66 | v-bind:options="['heterosexual', 'homosexual', 'bisexual', 'other']"></DropdownDisplayChoice> |
67 | 67 | </div> |
68 | | - <div class="px-8 mt-4"> |
| 68 | + <div class="mt-4 mx-auto max-w-sm"> |
69 | 69 | <h1 class="inline-block mr-3 text-gray-matcha">Interests</h1> |
70 | 70 | <DropdownDisplayChoices |
71 | 71 | class="inline-block" |
|
87 | 87 | v-on:saveMultipleChoice="saveMultipleChoice"></DropdownDisplayChoices> |
88 | 88 | </div> |
89 | 89 | </div> |
90 | | - <div class="px-8 border-t border-gray-300 w-full"> |
| 90 | + <div class="py-4 px-8 border-t border-gray-300 w-full"> |
91 | 91 | <AccountInput |
| 92 | + class="mx-auto" |
92 | 93 | v-bind:name="'Bio'" |
93 | 94 | v-bind:type="'bio'" |
94 | 95 | v-bind:currentValuePassed="this.$store.getters.getLoggedInUser.bio"></AccountInput> |
95 | 96 | </div> |
96 | | - <div class="py-4 px-8 border-t border-gray-300 w-full"> |
97 | | - <h1 class="inline-block mr-3 font-bold text-gray-matcha">Location</h1> |
98 | | - <h1 class="onboarding-sub-container-content-button-outline border font-normal mt-2 px-2 cursor-pointer" v-on:click="updateLocation()">Update current location</h1> |
| 97 | + <div class="text-center px-8 py-8 border-t border-gray-300 w-full"> |
| 98 | + <h1 class="inline-block mr-3 font-bold text-gray-matcha leading-none">Location</h1> |
| 99 | + <h1 class="mx-auto onboarding-sub-container-content-button-outline max-w-sm border font-normal mt-2 px-2 cursor-pointer" v-on:click="updateLocation()">Update current location</h1> |
99 | 100 | </div> |
100 | | - <div class="py-4 w-full px-8 border-t border-gray-300"> |
| 101 | + <div class="text-center py-8 w-full px-8 border-t border-gray-300"> |
101 | 102 | <h1 class="font-bold text-gray-matcha">Images<span class="text-md font-normal ml-2 opacity-50 text-gray-matcha">{{this.$store.getters.getLoggedInUser.images.length}} / 5</span></h1> |
102 | 103 | <div class="auth-sub-container-error mt-8" v-if="image.error"> |
103 | 104 | <h1 class="auth-sub-container-error-message">{{image.error}}</h1> |
104 | 105 | </div> |
105 | | - <button v-if="this.$store.getters.getLoggedInUser.images.length < 6" class="cursor-pointer relative onboarding-sub-container-content-button-outline border w-full max-w-xs mt-2"> |
| 106 | + <button v-if="this.$store.getters.getLoggedInUser.images.length < 6" class="cursor-pointer relative onboarding-sub-container-content-button-outline border w-full max-w-sm my-4"> |
106 | 107 | <input class="cursor-pointer opacity-0 absolute top-0 left-0 w-full h-full rounded-md" type="file" v-on:change="selectFile()" ref="file"> |
107 | 108 | <img src="../../assets/onboarding/cloudPurple.png" class="w-8 mx-auto"> |
108 | 109 | </button> |
|
0 commit comments