commit e88609f027359776e8f2cdf78c5203d34a59fd82 Author: hiro hiro@torproject.org Date: Thu Oct 22 18:30:28 2020 +0200
Remove row in donate header --- templates/header.html | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/templates/header.html b/templates/header.html index 1716eac..7fe8770 100644 --- a/templates/header.html +++ b/templates/header.html @@ -11,17 +11,13 @@ {% endif %} <div class="row"> {% if this.html == 'donate-form.html' and this.header_image|length %} - <div class="col-12 content-center pt-1 pt-sm-0 donate-has-image"> - <div class="row pb-1 pb-sm-0"> - <h2 class="mx-auto display-3 text-white text-capitalize donate-title">{{ this.title }}</h2> - <img src="{{ this.header_image | asseturl }}" class="donate-header-image img-fluid" /> - {% set idx = this.header_image.index(".png") %} - {% set header_mobile = this.header_image[:idx] + "-mobile" + this.header_image[idx:] %} - <a href="#giving-form" class="donate-header-image-mobile"> + <div class="col-12 content-center pt-1 pt-sm-0 donate-has-image"> + <h2 class="mx-auto display-3 text-white text-capitalize donate-title">{{ this.title }}</h2> + <img src="{{ this.header_image | asseturl }}" class="donate-header-image img-fluid" /> + {% set idx = this.header_image.index(".png") %} + {% set header_mobile = this.header_image[:idx] + "-mobile" + this.header_image[idx:] %} <img src="{{ header_mobile | asseturl }}" class="img-fluid" /> - </a> </div> - </div> {% else %} <div class="col-12 content-center pt-5"> <div class="row">
tor-commits@lists.torproject.org