Actions
Bug #93122
closedEpic #93119: Bootstrap v5 migration
Default badge has no background color anymore
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2020-12-20
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
If using .badge
without defining the background color with bg-
(see: https://getbootstrap.com/docs/5.0/components/badge/), the badge has no background color anymore. This currently just works because for non "default" badges (e.g. badge-danger) because TYPO3 defines a custom background for these classes in Build/Sources/Sass/typo3/_element_badges.scss
. So either add the "default" case here or directly switch to use the bg-
classes through the core.
See e.g. the open documents badge in the toolbar:
<=>
Files
Actions