From 3ce7b9c2ae9a38ae161a891315f50bd6359b231d Mon Sep 17 00:00:00 2001 From: zhegal Date: Fri, 1 Dec 2017 12:24:27 +0200 Subject: [PATCH] css edits --- frontend/views/layouts/main.php | 12 ++++++++++-- frontend/web/css/custom.css | 10 ++++++---- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/frontend/views/layouts/main.php b/frontend/views/layouts/main.php index a5c75d4..309756b 100755 --- a/frontend/views/layouts/main.php +++ b/frontend/views/layouts/main.php @@ -75,6 +75,7 @@ .owl-item .item {position: relative;height: 0;padding-bottom: 59%;max-height: 500px;overflow: hidden;} .owl-item .item .itemimage {position: absolute;width: 100%;height: 100%;background-position: center center;background-size: cover;} .owl-carousel .owl-wrapper-outer{background-color: #e8e7e9;} + @media(max-width:767px){.dropdown-menu li a{max-width: 100%;display: block;white-space: normal;}} @@ -110,8 +111,15 @@ _________________________________________________________ --> ?>

diff --git a/frontend/web/css/custom.css b/frontend/web/css/custom.css index 8640de3..60b45be 100755 --- a/frontend/web/css/custom.css +++ b/frontend/web/css/custom.css @@ -226,8 +226,10 @@ span.panel-title{ background-position: center center; background-size: cover; } -.dropdown-menu li a{ - max-width: 100%; - display: block; - white-space: normal; +@media(max-width:767px){ + .dropdown-menu li a{ + max-width: 100%; + display: block; + white-space: normal; + } } \ No newline at end of file -- libgit2 0.21.4