diff options
author | Daniel Schadt <kingdread@gmx.de> | 2024-05-04 17:48:52 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2024-05-04 17:48:52 +0200 |
commit | 72a93792f5d0372915ee71253d9870a246d6740f (patch) | |
tree | 67f92e7bcc6f65ab7d9bc91644433c18595181e9 | |
parent | ea655c63ed950a4a60f8bf65b54a73516abd6aba (diff) | |
download | fietsboek-72a93792f5d0372915ee71253d9870a246d6740f.tar.gz fietsboek-72a93792f5d0372915ee71253d9870a246d6740f.tar.bz2 fietsboek-72a93792f5d0372915ee71253d9870a246d6740f.zip |
fix images being cut on small screens
-rw-r--r-- | CHANGELOG.rst | 6 | ||||
-rw-r--r-- | asset-sources/theme.scss | 3 | ||||
-rw-r--r-- | fietsboek/static/theme.css | 3 | ||||
-rw-r--r-- | fietsboek/static/theme.css.map | 2 |
4 files changed, 11 insertions, 3 deletions
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index bb446d4..f81f39a 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,6 +4,12 @@ Changelog Unreleased ---------- +Fixed +^^^^^ + +- Track images not being shown properly on small screens (thanks + networkjanitor). + 0.9.0 - 2024-04-08 ------------------ diff --git a/asset-sources/theme.scss b/asset-sources/theme.scss index 1fe0deb..25353d7 100644 --- a/asset-sources/theme.scss +++ b/asset-sources/theme.scss @@ -47,8 +47,9 @@ strong { align-items: center; } -.carousel-item img { +#trackImageShowcase .carousel-item img { max-height: 700px; + max-width: 100%; margin: auto; } diff --git a/fietsboek/static/theme.css b/fietsboek/static/theme.css index 7656bc2..a4b0328 100644 --- a/fietsboek/static/theme.css +++ b/fietsboek/static/theme.css @@ -46,8 +46,9 @@ strong { align-items: center; } -.carousel-item img { +#trackImageShowcase .carousel-item img { max-height: 700px; + max-width: 100%; margin: auto; } diff --git a/fietsboek/static/theme.css.map b/fietsboek/static/theme.css.map index f2286e4..a1fd09f 100644 --- a/fietsboek/static/theme.css.map +++ b/fietsboek/static/theme.css.map @@ -1 +1 @@ -{"version":3,"sourceRoot":"","sources":["../../asset-sources/theme.scss"],"names":[],"mappings":"AAAA;EACE;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;AAEA;EACE;EACA;EACA;;;AAIJ;EACE;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;EACE;EACA;;;AAGF;EAqCE;EACA;EACA;EACA;EACA;EACA;;AAzCA;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;;;AAWJ;EACI;;;AAGJ;EACE;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;EACE;EACA;EACA;;AAEA;EACE;EACA;;AAGF;EACE;;;AAIJ;EACE;;;AAGF;EACE;;;AAGF;EACE;EACA;EACA;;;AAGF;AACA;EACE;;;AAGF;EACE;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE","file":"theme.css"}
\ No newline at end of file +{"version":3,"sourceRoot":"","sources":["../../asset-sources/theme.scss"],"names":[],"mappings":"AAAA;EACE;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;;AAEA;EACE;EACA;EACA;;;AAIJ;EACE;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;;;AAGF;EACE;;;AAGF;EACE;EACA;;;AAGF;EAqCE;EACA;EACA;EACA;EACA;EACA;;AAzCA;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;;;AAWJ;EACI;;;AAGJ;EACE;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;EACE;EACA;EACA;;AAEA;EACE;EACA;;AAGF;EACE;;;AAIJ;EACE;;;AAGF;EACE;;;AAGF;EACE;EACA;EACA;;;AAGF;AACA;EACE;;;AAGF;EACE;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE","file":"theme.css"}
\ No newline at end of file |