[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] Duplicated card-body class in minichat container

"luci \(@luciash\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <69415dc2a3738_2a17fb10523e2@gitlab-sidekiq-low-urgency-cpu-bound-v2-8ff6bf58d-kf5pv.mail>

luci pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
ce1f241e by Yves Ngalamulume at 2025-12-16T13:17:11+00:00
[FIX] Duplicated card-body class in minichat container
---
* [FIX] Improve minichat accessibility using Bootstrap 5.3 subtle colors

* [FIX] Duplicated card-body class in minichat container

See merge request tikiwiki/tiki!9116

- - - - -


2 changed files:

- templates/modules/mod-minichat.tpl
- tiki-minichat_ajax.php


Changes:

=====================================
templates/modules/mod-minichat.tpl
=====================================
@@ -10,7 +10,7 @@
 
     <div
     id="minichat"
-    class="card card-body mb-2 overflow-auto"
+    class="mb-2 overflow-auto"
     style="height: {$module_rows}em;">
     </div>
 


=====================================
tiki-minichat_ajax.php
=====================================
@@ -164,11 +164,12 @@ foreach ($chans as $chan) {
             $show_header = ($prev_user !== $row['user']);
 
             $align_class = ($side_class === 'mine') ? 'justify-content-end' : 'justify-content-start';
-            $card_classes = ($side_class === 'mine') ? 'card text-white bg-info' : 'card bg-light';
+            $card_classes = ($side_class === 'mine') ? 'bg-info-subtle text-info-emphasis' : 'bg-light-subtle text-body';
+
 
             $bubble = "<div class='d-flex mb-2 {$align_class}'>";
             $bubble .= "<div class='{$card_classes}' style='max-width:70%'>";
-            $bubble .= "<div class='card-body p-2'>";
+            $bubble .= "<div class='p-2'>";
             if ($show_header) {
                 $bubble .= "<div class='fw-bold small'>" . $nick_html . "</div>";
             }



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

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