diff --git a/booru_viewer/gui/info_panel.py b/booru_viewer/gui/info_panel.py index 2e0d51a..dbb9bab 100644 --- a/booru_viewer/gui/info_panel.py +++ b/booru_viewer/gui/info_panel.py @@ -140,7 +140,7 @@ class InfoPanel(QWidget): color = self._category_color(category) header = QLabel(f"{category}:") header.setStyleSheet( - f"font-weight: bold; margin-top: 6px; margin-bottom: 2px;" + "font-weight: bold; margin-top: 6px; margin-bottom: 2px;" + (f" color: {color};" if color else "") ) self._tags_flow.addWidget(header)