summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2020-11-23 09:22:52 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2020-11-23 09:22:52 +0100
commit3c5114af62b777ec79a1b794be45e7c764bf5af5 (patch)
treeed0133b6453944d2c192368b8d7ac1c191300aff
parentc7d0c9d90c7981878e5dc7f163fb41f350c5f45e (diff)
downloadquatuorbellefeuille.com-3c5114af62b777ec79a1b794be45e7c764bf5af5.tar.xz
Make scrolling more convenient
Clicking on summary buttons no longer scrolls the summary div.
-rw-r--r--actualités.css1
-rw-r--r--actualités.html2
2 files changed, 2 insertions, 1 deletions
diff --git a/actualités.css b/actualités.css
index 7f6aae1..46ac00a 100644
--- a/actualités.css
+++ b/actualités.css
@@ -6,6 +6,7 @@ main {
main > div {
padding: 2%;
+ overflow: auto;
}
.events {
diff --git a/actualités.html b/actualités.html
index 136f089..925d167 100644
--- a/actualités.html
+++ b/actualités.html
@@ -223,7 +223,7 @@
</div>
</div>
- <!-- TODO: scroll list and details independently -->
+ <!-- TODO: prevent scroll when clicking on overflowing details -->
<!-- TODO: check URL for anchor and auto-enable -->
<script>
var detailsStyle = document.createElement('style');