Skip to content

Commit

Permalink
fix: fixed class override issue in CP
Browse files Browse the repository at this point in the history
  • Loading branch information
kjmartens committed Jan 3, 2025
1 parent 8a0ec31 commit 5ffb8f8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/plugin/src/Resources/css/cp/logs/logs.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/plugin/src/templates/logs/error.twig
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
{{ line.logger }}
</td>
<td class="nowrap">
<span class="badge log-level-{{ line.level|lower }}">
<span class="log-badge log-level-{{ line.level|lower }}">
{{ line.level|lower }}
</span>
</td>
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin/src/templates/logs/index.twig
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
{{ line.logger }}
</td>
<td class="nowrap">
<span class="badge log-level-{{ line.level|lower }}">
<span class="log-badge log-level-{{ line.level|lower }}">
{{ line.level|lower }}
</span>
</td>
Expand Down
4 changes: 1 addition & 3 deletions packages/styles/src/cp/logs/logs.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
.badge {
.log-badge {
display: inline-block;
padding: 0 5px;
box-sizing: border-box;

border-radius: 3px;

color: #fff;
font-size: 11px;
font-weight: bold;
Expand Down

0 comments on commit 5ffb8f8

Please sign in to comment.