From 3aec76003084aed73d858b3291ffeb35e2eaf7c7 Mon Sep 17 00:00:00 2001 From: PON Date: Fri, 11 Aug 2023 12:06:55 +0200 Subject: [PATCH 1/3] Add css for altimetry --- georiviere/river/static/river/css/style.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/georiviere/river/static/river/css/style.css b/georiviere/river/static/river/css/style.css index b69bd615..8d4a4e9e 100644 --- a/georiviere/river/static/river/css/style.css +++ b/georiviere/river/static/river/css/style.css @@ -14,3 +14,12 @@ background-position: 5px 5px, center; background-size: 15px; } + +#altitudegraph.colapsed { + width: revert !important; +} + +#altitudegraph { + bottom: 24px !important; + right: 14px !important; +} \ No newline at end of file From c2424cfd9ff7510453440dfd521b36f6559180b1 Mon Sep 17 00:00:00 2001 From: PON Date: Mon, 28 Aug 2023 12:08:20 +0200 Subject: [PATCH 2/3] Add changelog --- docs/changelog.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/changelog.rst b/docs/changelog.rst index cd06bce9..fb3d044c 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -10,6 +10,11 @@ CHANGELOG * Use url lang for sensitivity datas +**Enhancement** + +- Improve CSS of the altitude profile of altimetry (#210) + + 1.2.2 (2023-08-09) ------------------------- From 0daeb1d3723c8f97646e18d5a9d2967132811a16 Mon Sep 17 00:00:00 2001 From: PON Date: Mon, 28 Aug 2023 15:12:29 +0200 Subject: [PATCH 3/3] Add comment to remove this code when geotrek is updated --- georiviere/river/static/river/css/style.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/georiviere/river/static/river/css/style.css b/georiviere/river/static/river/css/style.css index 8d4a4e9e..29f8ce26 100644 --- a/georiviere/river/static/river/css/style.css +++ b/georiviere/river/static/river/css/style.css @@ -15,11 +15,13 @@ background-size: 15px; } +/* To remove when Geotrek is updated to 2.100.0 */ #altitudegraph.colapsed { width: revert !important; } +/* To remove when Geotrek is updated to 2.100.0 */ #altitudegraph { bottom: 24px !important; right: 14px !important; -} \ No newline at end of file +}