diff options
Diffstat (limited to 'src/components/user_card/user_card.vue')
| -rw-r--r-- | src/components/user_card/user_card.vue | 34 |
1 files changed, 18 insertions, 16 deletions
diff --git a/src/components/user_card/user_card.vue b/src/components/user_card/user_card.vue index dd14d1b4..0561fa95 100644 --- a/src/components/user_card/user_card.vue +++ b/src/components/user_card/user_card.vue @@ -1,5 +1,5 @@ <template> - <div class="card base00-background"> + <div class="card"> <a href="#"> <img @click.prevent="toggleUserExpanded" class="avatar" :src="user.profile_image_url"> </a> @@ -21,24 +21,24 @@ <script src="./user_card.js"></script> <style lang="scss"> - .name-and-screen-name { +.name-and-screen-name { margin-left: 0.7em; margin-top:0.0em; margin-right: 2em; text-align: left; width: 100%; - } +} - .follows-you { +.follows-you { margin-left: 2em; float: right; - } +} - .follows { +.follows { - } +} - .card { +.card { display: flex; flex: 1 0; padding-top: 0.6em; @@ -47,18 +47,17 @@ padding-left: 1em; border-bottom: 1px solid; margin: 0; - border-bottom-color: inherit; - + border-bottom-color: var(--border); .avatar { - margin-top: 0.2em; - width:32px; - height: 32px; - border-radius: 50%; + margin-top: 0.2em; + width:32px; + height: 32px; + border-radius: 50%; } - } +} - .usercard { +.usercard { width: fill-available; margin: 0.2em 0 0.7em 0; border-radius: 10px; @@ -67,6 +66,9 @@ border-width: 1px; overflow: hidden; + .panel-heading { + background: transparent; + } p { margin-bottom: 0; } |
