aboutsummaryrefslogtreecommitdiff
path: root/src/components/user_card/user_card.vue
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2018-04-01 05:28:20 +0300
committerHenry Jameson <me@hjkos.com>2018-04-07 16:36:35 +0300
commitacdb5e5c7a2dac1908a5daafd94c31bc116a1799 (patch)
tree60713d0f6436fbcc0a17a4b4de647ebb884204ce /src/components/user_card/user_card.vue
parentaa0564406a95824cc45c815571292716b65806a1 (diff)
cleanup. added fallback mechanism for IE11 and unsupported browsers.
Diffstat (limited to 'src/components/user_card/user_card.vue')
-rw-r--r--src/components/user_card/user_card.vue14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/components/user_card/user_card.vue b/src/components/user_card/user_card.vue
index 0561fa95..6487d2a6 100644
--- a/src/components/user_card/user_card.vue
+++ b/src/components/user_card/user_card.vue
@@ -21,6 +21,8 @@
<script src="./user_card.js"></script>
<style lang="scss">
+@import '../../_variables.scss';
+
.name-and-screen-name {
margin-left: 0.7em;
margin-top:0.0em;
@@ -34,10 +36,6 @@
float: right;
}
-.follows {
-
-}
-
.card {
display: flex;
flex: 1 0;
@@ -47,7 +45,8 @@
padding-left: 1em;
border-bottom: 1px solid;
margin: 0;
- border-bottom-color: var(--border);
+ border-bottom-color: $fallback--border;
+ border-bottom-color: var(--border, $fallback--border);
.avatar {
margin-top: 0.2em;
@@ -69,8 +68,9 @@
.panel-heading {
background: transparent;
}
+
p {
- margin-bottom: 0;
+ margin-bottom: 0;
}
- }
+}
</style>