diff --git a/src/components/app/SettingsPanels/DropDownTemplate.vue b/src/components/app/SettingsPanels/DropDownTemplate.vue index 7ed0d79..35156a4 100644 --- a/src/components/app/SettingsPanels/DropDownTemplate.vue +++ b/src/components/app/SettingsPanels/DropDownTemplate.vue @@ -46,10 +46,14 @@ export default { this.opened = false; } }, + watch: { + updateItems() { + this.selected = null; + } + }, computed: { updateItems() { this.$emit("change", null); - this.selected = null; let newArr = []; for (let index = 0; index < this.items.length; index++) { let element = this.items[index]; @@ -91,6 +95,11 @@ export default { flex-direction: row; align-content: center; align-items: center; + border-radius: 5px; + transition: 0.3s; +} +.box:hover { + background: rgba(73, 73, 73, 0.863); } .selected { @@ -105,10 +114,11 @@ export default { display: flex; flex-direction: column; width: 100%; - background: rgba(24, 24, 24, 0.945); + background: rgba(49, 49, 49, 0.945); max-height: 200px; width: 220px; overflow: auto; + border-radius: 5px; } .item { width: 100%; @@ -117,7 +127,7 @@ export default { transition: 0.3s; } .item:hover { - background: rgba(15, 15, 15, 0.726); + background: rgb(65, 65, 65); } .content { display: flex; @@ -127,6 +137,7 @@ export default { } .emoji { margin-right: 5px; + margin-left: 1px; } diff --git a/src/components/app/SettingsPanels/MyProfile.vue b/src/components/app/SettingsPanels/MyProfile.vue index 8814bcc..1858d95 100644 --- a/src/components/app/SettingsPanels/MyProfile.vue +++ b/src/components/app/SettingsPanels/MyProfile.vue @@ -33,57 +33,7 @@
Logout
-
- error - Take Survey -
-
Note: Everyone will be able to see your survey in your profile.
- -
- -
-
What's your name?
- -
- -
- -
- -
- -
- -
- -
- -
- -
-
+
Error
@@ -97,9 +47,9 @@ diff --git a/src/components/app/emojiPanel.vue b/src/components/app/emojiPanel.vue index bf767e7..874d3c0 100644 --- a/src/components/app/emojiPanel.vue +++ b/src/components/app/emojiPanel.vue @@ -401,7 +401,8 @@ export default { position: absolute; bottom: 10px; right: 20px; - width: 390px; + max-width: 390px; + width: calc(100% - 50px); display: flex; flex-direction: column; z-index: 99999; @@ -459,13 +460,13 @@ export default { align-content: center; align-items: center; align-self: center; - justify-content: center; padding-top: 5px; padding-bottom: 5px; margin-top: 10px; background: rgb(161, 161, 161); border-radius: 5px; transition: 0.3s; + overflow: auto; } .tabs img { height: 20px; @@ -489,11 +490,12 @@ export default { flex-direction: column; transition: 0.1s; height: 35px; - width: 325px; + width: 32px; overflow: hidden; align-content: center; align-items: center; justify-content: center; + flex-shrink: 0; } .tab:hover { diff --git a/src/services/userService.js b/src/services/userService.js index a58e088..d4178dc 100644 --- a/src/services/userService.js +++ b/src/services/userService.js @@ -3,5 +3,8 @@ import {instance, wrapper} from './Api'; export default { get (uniqueID) { return wrapper(instance().get(`user/${uniqueID}`)) - } + }, + setSurvey(data) { + return wrapper(instance().put('/user/survey', data)); + } } \ No newline at end of file diff --git a/src/views/App.vue b/src/views/App.vue index f505e02..1608e3c 100644 --- a/src/views/App.vue +++ b/src/views/App.vue @@ -208,6 +208,9 @@ body { color: #383838; height: 100%; } +textarea { + font-family: "Roboto", sans-serif; +} .box { display: flex; flex-direction: column;