diff --git a/app/assets/stylesheets/admin.scss b/app/assets/stylesheets/admin.scss index fac6d35ed..e864d9781 100644 --- a/app/assets/stylesheets/admin.scss +++ b/app/assets/stylesheets/admin.scss @@ -497,18 +497,21 @@ table.investment-projects-summary { } } -.geozone { - background: #ececec; - border-radius: rem-calc(6); - color: $text; - display: inline-block; - font-size: $small-font-size; - margin-bottom: $line-height/3; - padding: $line-height/4 $line-height/3; - text-decoration: none; +body.admin { - &:hover { - background: #e0e0e0; + .geozone { + background: #ececec; + border-radius: rem-calc(6); + color: $text; + display: inline-block; + font-size: $small-font-size; + margin-bottom: $line-height/3; + padding: $line-height/4 $line-height/3; + text-decoration: none; + + &:hover { + background: #e0e0e0; + } } } diff --git a/app/assets/stylesheets/layout.scss b/app/assets/stylesheets/layout.scss index 7c204bced..b1aa65c90 100644 --- a/app/assets/stylesheets/layout.scss +++ b/app/assets/stylesheets/layout.scss @@ -1371,6 +1371,13 @@ table { } } +@include breakpoint(medium) { + + .button.button-telegram, .ssb-telegram { + display: none !important; + } +} + .social { a { @@ -1471,7 +1478,7 @@ table { width: $line-height*2; &:before { - content: "A"; + content: "1"; font-family: "icons" !important; font-size: rem-calc(24); left: 50%; diff --git a/app/helpers/banners_helper.rb b/app/helpers/banners_helper.rb index a1505a39e..b8b5864c9 100644 --- a/app/helpers/banners_helper.rb +++ b/app/helpers/banners_helper.rb @@ -1,7 +1,7 @@ module BannersHelper - def has_banners - @banners.count > 0 + def has_banners? + @banners.present? && @banners.count > 0 end end \ No newline at end of file diff --git a/app/views/admin/banners/edit.html.erb b/app/views/admin/banners/edit.html.erb index 9f2ad0ac0..17cb11405 100644 --- a/app/views/admin/banners/edit.html.erb +++ b/app/views/admin/banners/edit.html.erb @@ -1,10 +1,7 @@