Project

General

Profile

Actions

Bug #93122

closed

Epic #93119: Bootstrap v5 migration

Default badge has no background color anymore

Added by Oliver Bartsch over 3 years ago. Updated over 3 years ago.

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

before.png (1.29 KB) before.png Oliver Bartsch, 2020-12-20 13:56
after.png (1.24 KB) after.png Oliver Bartsch, 2020-12-20 13:56

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #93303: Incosistent badges in toolbar itemsClosedBenni Mack2021-01-17

Actions
Actions

Also available in: Atom PDF