From 16b562ea2ffcd5d6cd448421766f639bc04f61ed Mon Sep 17 00:00:00 2001 From: printempw Date: Sun, 14 Aug 2016 09:06:46 +0800 Subject: [PATCH] fix overflow of private label --- assets/src/sass/skinlib.scss | 14 +++++--------- assets/src/sass/style.scss | 18 +++++++++++++++++- 2 files changed, 22 insertions(+), 10 deletions(-) diff --git a/assets/src/sass/skinlib.scss b/assets/src/sass/skinlib.scss index eb303f49..26c19482 100644 --- a/assets/src/sass/skinlib.scss +++ b/assets/src/sass/skinlib.scss @@ -2,7 +2,7 @@ * @Author: printempw * @Date: 2016-07-10 17:17:07 * @Last Modified by: printempw - * @Last Modified time: 2016-08-13 21:57:29 + * @Last Modified time: 2016-08-14 09:00:16 */ @import "style.scss"; @@ -25,6 +25,10 @@ .item-body > img { margin-left: 50px; } + + .texture-name { + width: 65%; + } } .item-footer { @@ -38,14 +42,6 @@ } } -.texture-name { - width: 85%; - display: inline-block; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} - .model-label { font-weight: 500; font-size: 15px; diff --git a/assets/src/sass/style.scss b/assets/src/sass/style.scss index fb8e941a..7063b170 100644 --- a/assets/src/sass/style.scss +++ b/assets/src/sass/style.scss @@ -2,7 +2,7 @@ * @Author: printempw * @Date: 2016-06-04 20:55:09 * @Last Modified by: printempw - * @Last Modified time: 2016-08-06 18:53:08 + * @Last Modified time: 2016-08-14 09:02:03 */ @font-face { @@ -76,6 +76,10 @@ input:-webkit-autofill { .item-body > img { margin-left: 25%; } + + .texture-name { + width: 65%; + } } @media (max-width: 520px) { @@ -86,6 +90,18 @@ input:-webkit-autofill { .item-body > img { margin-left: 30%; } + + .texture-name { + width: 80%; + } +} + +.texture-name { + width: 65%; + display: inline-block; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } .item:hover {