[TikiWiki-commits] [Git][tikiwiki/tiki][29.x] [FIX][UI] Provide default values for --tiki-page-content-top-margin and...

"Gary Cunningham-Lee \(--- via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <6899fee7ad770_2cd608829585@gitlab-sidekiq-low-urgency-cpu-bound-v2-679c9574df-krmgn.mail>

Gary Cunningham-Lee pushed to branch 29.x at Tiki Wiki CMS Groupware / Tiki


Commits:
d23113b4 by Gary Cunningham-Lee at 2025-08-11T23:24:12+09:00
[FIX][UI] Provide default values for --tiki-page-content-top-margin and...
---
* [FIX][UI] Provide default values for --tiki-page-content-top-margin and...
---
* [FIX][UI] Provide default values for --tiki-page-content-top-margin and --bs-navbar-brand-padding-y in case themes don't. Themes can override.

See merge request tikiwiki/tiki!8264


(cherry picked from commit 89b0ca62267b192db2f5680c98e4b22fc6c38bcc)

de249649 [FIX][UI] Provide default values for --tiki-page-content-top-margin and...

Co-authored-by: Gary Cunningham-Lee <gary_c-39LOpZwlz1/[email protected]>

See merge request tikiwiki/tiki!8266

- - - - -


1 changed file:

- themes/base_files/scss/_tiki-miscellaneous_global.scss


Changes:

=====================================
themes/base_files/scss/_tiki-miscellaneous_global.scss
=====================================
@@ -1,3 +1,12 @@
+// Default values for necessary Bootstrap and Tiki CSS variables in case themes don't provide them
+:root {
+    --tiki-page-content-top-margin: 1.25rem; // Equivalent to 20px that was hard-coded in Tiki at one time
+}
+
+.navbar-brand {
+    --bs-navbar-brand-padding-y: 0.31225rem; // Value based on typical navbar brand font size, etc.
+}
+
 //****** Misc. Global Classes (layout and style) ****/
 
 // Extra-small button, initially for the side column toggle icons



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

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/d23113b4d63e4dbc4225e1300ab9e35eda570b1e
You're receiving this email because of your account on gitlab.com.

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.