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

Fix mobile UI

parent 0a146aef
No related branches found
No related tags found
No related merge requests found
......@@ -10,14 +10,14 @@
prop="actor"/>
<el-table-column
:label="$t('settings.followedBack')"
:width="getLabelWidth"
prop="followed_back"
width="120"
align="center">
<template slot-scope="scope">
<i :class="scope.row.followed_back ? 'el-icon-check' : 'el-icon-minus'"/>
</template>
</el-table-column>
<el-table-column :label="$t('table.actions')" fixed="right" width="120" align="center">
<el-table-column :label="$t('table.actions')" :width="getLabelWidth" fixed="right" align="center">
<template slot-scope="scope">
<el-button
type="text"
......@@ -40,11 +40,17 @@ export default {
}
},
computed: {
relays() {
return this.$store.state.relays.fetchedRelays
getLabelWidth() {
return this.isDesktop ? '130px' : '85px'
},
isDesktop() {
return this.$store.state.app.device === 'desktop'
},
loading() {
return this.$store.state.relays.loading
},
relays() {
return this.$store.state.relays.fetchedRelays
}
},
mounted() {
......
......@@ -431,7 +431,7 @@
height: 2px;
}
.follow-relay {
width: 70%;
width: 75%;
margin-right: 5px;
input {
width: 100%;
......@@ -440,6 +440,7 @@
.follow-relay-container {
display: flex;
justify-content: space-between;
margin: 0 5px;
}
h1 {
font-size: 24px;
......
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