Merge pull request #752 from amyspark/fix-sidebar-followers-layout

Fix user layout in Follow(ers) tab
This commit is contained in:
AkiraFukushima 2018-11-28 19:30:59 +09:00 committed by GitHub
commit 1568ba7a4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 23 additions and 2 deletions

View File

@ -140,6 +140,7 @@ export default {
height: 36px; height: 36px;
border-radius: 4px; border-radius: 4px;
cursor: pointer; cursor: pointer;
display: block;
} }
} }

View File

@ -149,6 +149,8 @@ export default {
width: 36px; width: 36px;
height: 36px; height: 36px;
border-radius: 4px; border-radius: 4px;
cursor: pointer;
display: block;
} }
} }

View File

@ -505,6 +505,7 @@ export default {
height: 36px; height: 36px;
border-radius: 4px; border-radius: 4px;
cursor: pointer; cursor: pointer;
display: block;
} }
} }

View File

@ -82,17 +82,28 @@ export default {
.user { .user {
display: flex; display: flex;
box-sizing: border-box; box-sizing: border-box;
padding: 4px 12px 8px; padding: 8px 12px;
border-bottom: 1px solid var(--theme-border-color); border-bottom: 1px solid var(--theme-border-color);
cursor: pointer; cursor: pointer;
align-items: center;
.fa-icon {
font-size: 0.9em;
width: auto;
height: 1em;
max-width: 100%;
max-height: 100%;
}
.icon { .icon {
display: inline-block; float: left;
img { img {
width: 36px; width: 36px;
height: 36px; height: 36px;
border-radius: 4px; border-radius: 4px;
cursor: pointer;
display: block;
} }
} }
@ -123,14 +134,20 @@ export default {
.follow { .follow {
color: var(--theme-primary-color); color: var(--theme-primary-color);
padding-top: 8px;
padding-bottom: 8px;
} }
.unfollow { .unfollow {
color: #409eff; color: #409eff;
padding-top: 8px;
padding-bottom: 8px;
} }
.requested { .requested {
color: var(--theme-primary-color); color: var(--theme-primary-color);
padding-top: 8px;
padding-bottom: 8px;
} }
} }
} }