[TikiWiki-commits] [Git][tikiwiki/tiki][29.x] [FIX] cookies: Restore hard-coded styles incorrectly removed

"Jonny Bradley \(@jonnybradley\) via TikiWiki-cvs" <[email protected]> Wed, 15 Jul 2026 17:13:24 +0000
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <6a57bfb47326f_3919cae442268@gitlab-sidekiq-low-urgency-cpu-bound-v2-56b6659d64-ckzsq.mail>

Jonny Bradley pushed to branch 29.x at Tiki Wiki CMS Groupware / Tiki


Commits:
b0e56387 by Jonny Bradley at 2026-07-15T17:13:22+00:00
[FIX] cookies: Restore hard-coded styles incorrectly removed
---
* [FIX] cookies: Restore hard-coded styles incorrectly removed in my last fix - needed to diable the rest of the site before consent is agreed (thanks @domeshow)

See merge request tikiwiki/tiki!10726


(cherry picked from commit c481f156723fb66e89ee81c76495f0661e1802bc)

7eaec1fa [FIX] cookies: Restore hard-coded styles incorrectly removed in my last fix -...

Co-authored-by: Jonny Bradley <[email protected]>
- - - - -


1 changed file:

- templates/cookie_consent.tpl


Changes:

=====================================
templates/cookie_consent.tpl
=====================================
@@ -9,9 +9,9 @@
                 <div class="modal-body">
                     <form method="POST">
 {else}
-    <div id="{$prefs.cookie_consent_dom_id}" role="alert" class="fixed-bottom"
-            {if not empty($prefs.cookie_consent_mode)}class="{$prefs.cookie_consent_mode}" {/if}>
-        <form method="POST" class="position-fixed bottom-0 start-0 end-0 collapse show">
+    <div id="{$prefs.cookie_consent_dom_id}" role="alert"{if not empty($prefs.cookie_consent_mode)} class="{$prefs.cookie_consent_mode}"{/if}
+            style="position: fixed; top:0; z-index: 1050; background-color: rgba(0, 0, 0, 0.74); height: 100vh; width: 100vw;">
+        <form method="POST" class="position-fixed bottom-0 start-0 end-0 collapse show" style="z-index: 1050;">
             <div class="alert alert-primary rounded-2 border-top border-secondary border-1 mb-0 py-4 collapse show">
                 <div class="container">
 {/if}



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/b0e5638765e494cba292a71bb5edb1b8a706390d

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/b0e5638765e494cba292a71bb5edb1b8a706390d
You're receiving this email because of your account on gitlab.com. Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs