From 22d44480c93a9dd504665b42c7435fd862a3accf Mon Sep 17 00:00:00 2001 From: Nya Candy Date: Sun, 29 Jan 2023 16:07:55 +0800 Subject: [PATCH] feat: limit scopes max height to prevent page overflow --- templates/consent.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/consent.tmpl b/templates/consent.tmpl index c7c9349..dbb7d62 100644 --- a/templates/consent.tmpl +++ b/templates/consent.tmpl @@ -13,6 +13,8 @@ ul.scopes { text-align: left; width: 100%; + max-height: 30vh; + overflow-y: auto; } ul.scopes > li {