Skip to content
Snippets Groups Projects
Commit cdeca186 authored by Angelina Filippova's avatar Angelina Filippova
Browse files

Fix styles for desktop and mobile ui

parent 8d08d302
No related branches found
No related tags found
2 merge requests!11Add ability to read reports,!10Add more users filters
......@@ -2,8 +2,8 @@
<el-select
v-model="value"
:collapse-tags="isMobile"
:clearable="isDesktop"
multiple
clearable
placeholder="Select filter"
class="select-field"
@change="toggleFilters">
......@@ -47,6 +47,9 @@ export default {
}
},
computed: {
isDesktop() {
return this.$store.state.app.device === 'desktop'
},
isMobile() {
return this.$store.state.app.device === 'mobile'
}
......@@ -68,7 +71,8 @@ export default {
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px) {
.select-field {
width: 48%;
width: 100%;
margin-bottom: 5px;
}
}
</style>
......@@ -174,7 +174,7 @@ export default {
<style rel='stylesheet/scss' lang='scss' scoped>
.users-container {
h1 {
margin-left: 15px;
margin: 22px 0 0 15px;
}
.pagination {
......@@ -190,8 +190,8 @@ export default {
display: flex;
height: 36px;
justify-content: space-between;
align-items: baseline;
margin: 0 15px 21px 15px
align-items: center;
margin: 22px 15px 22px 15px
}
}
@media
......@@ -199,7 +199,7 @@ only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px) {
.users-container {
h1 {
margin-left: 7px;
margin: 7px 10px 7px 10px;
}
.el-dropdown-link {
cursor: pointer;
......@@ -209,14 +209,13 @@ only screen and (max-width: 760px),
font-size: 12px;
}
.search {
width: 48%;
float: right;
width: 100%;
}
.search-container {
display: flex;
justify-content: space-between;
align-items: baseline;
margin: 0 7px 10px 7px
height: 82px;
flex-direction: column;
margin: 0 10px 7px 10px
}
.el-tag {
width: 30px;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment