GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

Commit e7503b1b authored by Hiro's avatar Hiro 🏄

Fix header image cs mobile

parent 501d0d78
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
display: none; display: none;
} }
.donate-header-image-mobile { .donate-header-image-mobile {
display: block; display: flex;
width: 100%; width: 100%;
margin: 0 auto; margin: 0 auto;
height: auto; height: auto;
...@@ -22,13 +22,18 @@ ...@@ -22,13 +22,18 @@
.donate-header-image { .donate-header-image {
display: none; display: none;
@include media-breakpoint-up(sm) { @include media-breakpoint-up(sm) {
display: block; display: flex;
width: 100%; width: 100%;
max-width: 650px; max-width: 650px;
margin: 0 auto; margin: 0 auto;
height: auto; height: auto;
} }
} }
img {
object-fit: contain;
flex-flow: row nowrap;
align-items: center;
}
} }
.header-description { .header-description {
......
...@@ -8174,7 +8174,7 @@ a.side-nav.active { ...@@ -8174,7 +8174,7 @@ a.side-nav.active {
.donate-has-image .donate-title { .donate-has-image .donate-title {
display: none; } display: none; }
.donate-has-image .donate-header-image-mobile { .donate-has-image .donate-header-image-mobile {
display: block; display: flex;
width: 100%; width: 100%;
margin: 0 auto; margin: 0 auto;
height: auto; } height: auto; }
...@@ -8185,11 +8185,15 @@ a.side-nav.active { ...@@ -8185,11 +8185,15 @@ a.side-nav.active {
display: none; } display: none; }
@media (min-width: 576px) { @media (min-width: 576px) {
.donate-has-image .donate-header-image { .donate-has-image .donate-header-image {
display: block; display: flex;
width: 100%; width: 100%;
max-width: 650px; max-width: 650px;
margin: 0 auto; margin: 0 auto;
height: auto; } } height: auto; } }
.donate-has-image img {
object-fit: contain;
flex-flow: row nowrap;
align-items: center; }
.header-description { .header-description {
margin-bottom: 30px; } margin-bottom: 30px; }
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment