0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Downsize SVG, add role=img

This commit is contained in:
Mark Otto 2020-06-16 10:38:32 -07:00 committed by XhmikosR
parent e8a590f253
commit 69921580fd
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
<div class="container px-4 px-md-3"> <div class="container px-4 px-md-3">
<div class="row align-items-lg-center"> <div class="row align-items-lg-center">
<div class="col-8 mx-auto col-md-4 order-md-2 col-lg-5"> <div class="col-8 mx-auto col-md-4 order-md-2 col-lg-5">
{{ partial "homepage-hero.svg" (dict "class" "img-fluid mb-3 mb-md-0" "width" "900" "height" "800") }} {{ partial "homepage-hero.svg" (dict "class" "img-fluid mb-3 mb-md-0" "width" "600" "height" "533") }}
</div> </div>
<div class="col-md-8 order-md-1 col-lg-7 text-center text-md-left"> <div class="col-md-8 order-md-1 col-lg-7 text-center text-md-left">
<h1 class="mb-3">Build fast, responsive sites with Bootstrap</h1> <h1 class="mb-3">Build fast, responsive sites with Bootstrap</h1>

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB