[TikiWiki-commits] [Git][tikiwiki/tiki][master] [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 <6899fa3b9c34_2cd60607164@gitlab-sidekiq-low-urgency-cpu-bound-v2-679c9574df-659wp.mail>

Gary Cunningham-Lee pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
89b0ca62 by Gary Cunningham-Lee at 2025-08-11T23:04:14+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 --bs-navbar-brand-padding-y in case themes don't. Themes can override.

See merge request tikiwiki/tiki!8264

- - - - -


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/89b0ca62267b192db2f5680c98e4b22fc6c38bcc

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/89b0ca62267b192db2f5680c98e4b22fc6c38bcc
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.