From 70a1721460d95c27363710ac3245d949b3820562 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 18 Apr 2018 19:47:56 +0900 Subject: [PATCH] Fix design --- .../desktop/views/pages/user/user.header.vue | 23 ++++++++----------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/src/client/app/desktop/views/pages/user/user.header.vue b/src/client/app/desktop/views/pages/user/user.header.vue index d9ad615164..90bedf7161 100644 --- a/src/client/app/desktop/views/pages/user/user.header.vue +++ b/src/client/app/desktop/views/pages/user/user.header.vue @@ -3,8 +3,8 @@

%fa:exclamation-triangle% %i18n:@is-remote%%i18n:@view-remote%

-
avatar
@@ -67,7 +67,6 @@ export default Vue.extend({ @import '~const.styl' .header - $banner-height = 320px $footer-height = 58px overflow hidden @@ -91,8 +90,8 @@ export default Vue.extend({ > .banner background-color #383838 - > .fade - background linear-gradient(transparent, rgba(0, 0, 0, 0.7)) + > .fade + background linear-gradient(transparent, rgba(0, 0, 0, 0.7)) > .container > .title @@ -102,7 +101,7 @@ export default Vue.extend({ text-shadow 0 0 8px #000 > .banner-container - height $banner-height + height 320px overflow hidden background-size cover background-position center @@ -113,14 +112,12 @@ export default Vue.extend({ background-size cover background-position center - > .fade - $fade-hight = 78px - - position absolute - top ($banner-height - $fade-hight) - left 0 - width 100% - height $fade-hight + > .fade + position absolute + bottom 0 + left 0 + width 100% + height 78px > .container max-width 1200px