+
-
+
{{ $t('user_card.statuses') }}
@@ -123,8 +123,8 @@
{{user.followers_count}}
-
-
{{ user.description }}
+
+
{{ user.description }}
@@ -134,30 +134,54 @@
diff --git a/src/components/user_panel/user_panel.vue b/src/components/user_panel/user_panel.vue
index 2d5cb500..4b3d8971 100644
--- a/src/components/user_panel/user_panel.vue
+++ b/src/components/user_panel/user_panel.vue
@@ -1,7 +1,7 @@
-
+
@@ -11,13 +11,3 @@
-
-
diff --git a/src/components/user_profile/user_profile.vue b/src/components/user_profile/user_profile.vue
index 8090efa5..c57d3409 100644
--- a/src/components/user_profile/user_profile.vue
+++ b/src/components/user_profile/user_profile.vue
@@ -1,11 +1,7 @@
-
+
Date: Tue, 5 Mar 2019 13:25:31 -0500
Subject: [PATCH 2/7] Update modifier class notation
---
.../user_card_content/user_card_content.js | 6 +++---
.../user_card_content/user_card_content.vue | 18 +++++++++---------
2 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/src/components/user_card_content/user_card_content.js b/src/components/user_card_content/user_card_content.js
index 78c7eb6b..96c6036c 100644
--- a/src/components/user_card_content/user_card_content.js
+++ b/src/components/user_card_content/user_card_content.js
@@ -18,9 +18,9 @@ export default {
computed: {
classes () {
return [{
- 'user-card-content-rounded': this.rounded === true,
- 'user-card-content-rounded-t': this.rounded === 'top', // top only
- 'user-card-content-bordered': this.bordered
+ 'user-card-content-rt': this.rounded === 'top', // set border-top-left-radius and border-top-right-radius
+ 'user-card-content-r': this.rounded === true, // set border-radius for all sides
+ 'user-card-content-b': this.bordered === true // set border for all sides
}]
},
style () {
diff --git a/src/components/user_card_content/user_card_content.vue b/src/components/user_card_content/user_card_content.vue
index f06a0a45..e003e850 100644
--- a/src/components/user_card_content/user_card_content.vue
+++ b/src/components/user_card_content/user_card_content.vue
@@ -164,19 +164,19 @@
//
// Modifiers
- &-rounded {
+ &-rt {
+ border-top-left-radius: $fallback--panelRadius;
+ border-top-left-radius: var(--panelRadius, $fallback--panelRadius);
+ border-top-right-radius: $fallback--panelRadius;
+ border-top-right-radius: var(--panelRadius, $fallback--panelRadius);
+ }
+
+ &-r {
border-radius: $fallback--panelRadius;
border-radius: var(--panelRadius, $fallback--panelRadius);
}
- &-rounded-t {
- border-radius: $fallback--panelRadius;
- border-radius: var(--panelRadius, $fallback--panelRadius);
- border-bottom-left-radius: 0;
- border-bottom-right-radius: 0;
- }
-
- &-bordered {
+ &-b {
border-width: 1px;
border-style: solid;
border-color: $fallback--border;
From baf603a506529cfacdd4bf0b98f248cd3ed35b34 Mon Sep 17 00:00:00 2001
From: taehoon
Date: Tue, 5 Mar 2019 13:54:49 -0500
Subject: [PATCH 3/7] Update block class name of BasicUserCard component
---
src/components/basic_user_card/basic_user_card.vue | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/components/basic_user_card/basic_user_card.vue b/src/components/basic_user_card/basic_user_card.vue
index a358c971..f72620a3 100644
--- a/src/components/basic_user_card/basic_user_card.vue
+++ b/src/components/basic_user_card/basic_user_card.vue
@@ -1,18 +1,18 @@
-
+
-
+
-
-
+
+
{{ user.name }}
-
+
@{{user.screen_name}}
@@ -26,7 +26,7 @@