Commit Graph
9 Commits
Author SHA1 Message Date
Khadirullah Mohammad 680b395c4a 🐛 Fix alert overflow when it contains a code block
The alert text span is a flex item with the default min-width: auto,
so it cannot shrink below its widest child. A code block or table in
an alert ran past the alert box, and on phones made the page wider
than the screen.

Add min-w-0 to the text span in both the default and textColor
branches so wide content scrolls inside the alert.
2026-10-13 14:39:00 +05:30
ZhenShuo Leo c3e7d1b8b1 style(alert): add shadow to alert shortcode 2026-01-04 19:25:56 +08:00
ZhenShuo Leo 41f6b37e56 refactor(tailwind): use logical properties for language direction 2025-08-22 03:34:02 +08:00
Nuno Coração f2e224a042 pretty run 2025-06-17 23:17:26 +01:00
Nuno Coração 8c996fb340 refactored alert shortcode 2023-02-03 20:45:41 +00:00
Mircea-Pavel ANTON 095a64b150 Update shortcode 2023-01-27 23:07:45 +00:00
Mircea-Pavel ANTON 455ecae53d Customize alert shortcode 2023-01-25 13:34:35 +00:00
Mircea-Pavel ANTON 3448bd4c7c Fix item alignment. 2023-01-16 17:11:34 +00:00
Nuno Coração 8fbdecb6e7 initial commit 2022-09-10 20:05:37 +01:00