forked from AkkomaGang/admin-fe
Fix styles
This commit is contained in:
parent
558db9a1c7
commit
9ecdddad16
2 changed files with 33 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div v-if="!loading">
|
||||
<div v-if="!loading" class="status-show-container">
|
||||
<header v-if="isDesktop || isTablet" class="user-page-header">
|
||||
<div class="avatar-name-container">
|
||||
<el-avatar v-if="accountExists(user, 'avatar')" :src="user.avatar" size="large" />
|
||||
|
@ -103,7 +103,7 @@ export default {
|
|||
}
|
||||
</script>
|
||||
|
||||
<style rel='stylesheet/scss' lang='scss' scoped>
|
||||
<style rel='stylesheet/scss' lang='scss'>
|
||||
.avatar-name-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
@ -143,10 +143,21 @@ export default {
|
|||
margin: 0 0 0 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 1824px) {
|
||||
.status-show-container {
|
||||
max-width: 1824px;
|
||||
margin: auto;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width:480px) {
|
||||
.avatar-name-container {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.el-timeline-item__wrapper {
|
||||
padding-left: 18px;
|
||||
}
|
||||
.left-header-container {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
|
@ -157,11 +168,18 @@ export default {
|
|||
}
|
||||
.recent-statuses-container {
|
||||
width: 100%;
|
||||
margin: 0 10px;
|
||||
margin: 0;
|
||||
}
|
||||
.show-private-statuses {
|
||||
margin: 0 10px 20px 10px;
|
||||
}
|
||||
.status-container {
|
||||
margin: 0 10px;
|
||||
}
|
||||
.statuses {
|
||||
padding-right: 10px;
|
||||
margin-left: 8px;
|
||||
}
|
||||
.user-page-header {
|
||||
padding: 0;
|
||||
margin: 7px 15px 15px 10px;
|
||||
|
|
|
@ -187,7 +187,7 @@ export default {
|
|||
}
|
||||
</script>
|
||||
|
||||
<style rel='stylesheet/scss' lang='scss' scoped>
|
||||
<style rel='stylesheet/scss' lang='scss'>
|
||||
header {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
|
@ -291,16 +291,26 @@ table {
|
|||
.avatar-name-container {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.el-timeline-item__wrapper {
|
||||
padding-left: 18px;
|
||||
}
|
||||
.recent-statuses {
|
||||
margin: 20px 10px 15px 10px;
|
||||
}
|
||||
.recent-statuses-container {
|
||||
width: 100%;
|
||||
margin: 0 10px;
|
||||
margin: 0;
|
||||
}
|
||||
.show-private-statuses {
|
||||
margin: 0 10px 20px 10px;
|
||||
}
|
||||
.status-container {
|
||||
margin: 0 10px;
|
||||
}
|
||||
.statuses {
|
||||
padding-right: 10px;
|
||||
margin-left: 8px;
|
||||
}
|
||||
.user-page-header {
|
||||
padding: 0;
|
||||
margin: 7px 15px 15px 10px;
|
||||
|
|
Loading…
Reference in a new issue