mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
More styling for responsive sizes groups header
This commit is contained in:
@@ -20,11 +20,15 @@
|
||||
vertical-align: middle
|
||||
|
||||
#group-page
|
||||
@media screen and (min-width: 768px)
|
||||
.group-logo
|
||||
max-height: 100px
|
||||
.group-logo, .group-header
|
||||
text-align: center
|
||||
.group-name
|
||||
border-bottom: 1px solid #ccc
|
||||
@media screen and (min-width: 768px)
|
||||
.group-logo, .group-header
|
||||
text-align: left
|
||||
.group-logo img
|
||||
max-height: 100px
|
||||
|
||||
// Tabs
|
||||
.tabs dd a
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
.small-12.columns
|
||||
%img{"src" => @group.promo_image}
|
||||
.row
|
||||
.small-12.medium-2.large-2.columns.pad-top
|
||||
%img.group-logo{"src" => @group.logo}
|
||||
.small-12.medium-10.large-10.columns.pad-top
|
||||
.small-12.medium-2.large-2.columns.group-logo.pad-top
|
||||
%img{"src" => @group.logo}
|
||||
.small-12.medium-10.large-10.columns.group-header.pad-top
|
||||
%h2.group-name= @group.name
|
||||
%p= @group.description
|
||||
|
||||
|
||||
Reference in New Issue
Block a user