Skip to content

Lock sponsor logo aspect ratio (_sponsor.scss)#170

Merged
sean-e-dietrich merged 1 commit into
badcamp:masterfrom
kthull:patch-1
Aug 30, 2018
Merged

Lock sponsor logo aspect ratio (_sponsor.scss)#170
sean-e-dietrich merged 1 commit into
badcamp:masterfrom
kthull:patch-1

Conversation

@kthull

@kthull kthull commented Aug 29, 2018

Copy link
Copy Markdown
Contributor

When square and horizontal logos are mixed in a responsive grid that only takes the grid width into account, square logos like DDEV look disproportionately large next to horizontal logos like Pantheon and Platform in smaller viewports. This code locks all logos into a 16:9 space, keeping them visually consistent.

So this...
screen shot 2018-08-29 at 5 17 11 pm

Becomes this...
screen shot 2018-08-29 at 5 16 59 pm

When square and horizontal logos are mixed in a responsive grid that only takes the grid width into account, square logos like DDEV look disproportionately large next to horizontal logos like Pantheon and Platform in smaller viewports. This code locks all logos into a 16:9 space, keeping them visually consistent.
@sean-e-dietrich sean-e-dietrich merged commit 52ffc08 into badcamp:master Aug 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants