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 🏄
Browse files

Fix header image cs mobile

parent 501d0d78
......@@ -11,7 +11,7 @@
display: none;
}
.donate-header-image-mobile {
display: block;
display: flex;
width: 100%;
margin: 0 auto;
height: auto;
......@@ -22,13 +22,18 @@
.donate-header-image {
display: none;
@include media-breakpoint-up(sm) {
display: block;
display: flex;
width: 100%;
max-width: 650px;
margin: 0 auto;
height: auto;
}
}
img {
object-fit: contain;
flex-flow: row nowrap;
align-items: center;
}
}
.header-description {
......
......@@ -8174,7 +8174,7 @@ a.side-nav.active {
.donate-has-image .donate-title {
display: none; }
.donate-has-image .donate-header-image-mobile {
display: block;
display: flex;
width: 100%;
margin: 0 auto;
height: auto; }
......@@ -8185,11 +8185,15 @@ a.side-nav.active {
display: none; }
@media (min-width: 576px) {
.donate-has-image .donate-header-image {
display: block;
display: flex;
width: 100%;
max-width: 650px;
margin: 0 auto;
height: auto; } }
.donate-has-image img {
object-fit: contain;
flex-flow: row nowrap;
align-items: center; }
.header-description {
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