From e3c5e3d164f1edd3ed156282e8f79b7add976f20 Mon Sep 17 00:00:00 2001 From: "kitatsuji.yuto" Date: Fri, 26 Aug 2016 14:15:46 +0900 Subject: [PATCH] =?UTF-8?q?=E7=B5=9E=E3=82=8A=E8=BE=BC=E3=81=BFdropDown?= =?UTF-8?q?=E3=81=8C=E6=9E=A0=E3=82=92=E3=81=AF=E3=81=BF=E5=87=BA=E3=81=99?= =?UTF-8?q?=E4=B8=8D=E5=85=B7=E5=90=88=E3=82=92=E4=BF=AE=E6=AD=A3=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webroot/css/style.css | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/webroot/css/style.css b/webroot/css/style.css index 48f8df0b..876c3f8f 100644 --- a/webroot/css/style.css +++ b/webroot/css/style.css @@ -504,3 +504,41 @@ ul.nav-pills { .popover { min-width: 274px; } + +/** + * ドロップダウン枠内文字表示制限 + */ +.nc-category-ellipsis { + max-width: 180px; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; +} +.nc-drop-down-ellipsis { + min-width: 5px; + max-width: 180px; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + margin-right: 3px; +} +@media screen and (min-width: 768px) { + .nc-drop-down-ellipsis { + min-width: 5px; + max-width: 380px; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + margin-right: 3px; + } +} +@media screen and (min-width: 1200px) { + .nc-drop-down-ellipsis { + min-width: 5px; + max-width: 480px; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + margin-right: 3px; + } +} \ No newline at end of file