Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show suru on all screens #4908

Merged
merged 2 commits into from
Nov 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vanilla-framework",
"version": "4.5.0",
"version": "4.5.1",
"author": {
"email": "webteam@canonical.com",
"name": "Canonical Webteam"
Expand Down
6 changes: 0 additions & 6 deletions scss/_patterns_suru.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,9 @@
aspect-ratio: calc(2216 / 428); // aspect ratio calculated from image dimensions
background-image: url('#{$assets-path}7f34ade9-website_suru_25.jpg');
background-size: contain;
display: none; // only show suru on large screens
margin: 0 auto;
max-width: $grid-max-width;

// show suru only on large screens
@media (min-width: $breakpoint-large) {
display: block;
}

&.is-dark {
aspect-ratio: calc(2580 / 501); // aspect ratio calculated from image dimensions
background-image: url('#{$assets-path}9469ef82-1_website_suru_DARK_25%20(1)122.jpg');
Expand Down