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