diff --git a/packages/plugin/src/Resources/css/cp/logs/logs.css b/packages/plugin/src/Resources/css/cp/logs/logs.css index 154350f7e..0ba481444 100644 --- a/packages/plugin/src/Resources/css/cp/logs/logs.css +++ b/packages/plugin/src/Resources/css/cp/logs/logs.css @@ -1 +1 @@ -.badge{display:inline-block;padding:0 5px;box-sizing:border-box;border-radius:3px;color:#fff;font-size:11px;font-weight:bold}.badge.log-level-debug{background-color:#ccc}.badge.log-level-info{background-color:#6c757d}.badge.log-level-notice{background-color:#28a745}.badge.log-level-warning{background-color:#ffc107}.badge.log-level-error{background-color:#dc3545}.badge.log-level-critical{background-color:#dc3545}.badge.log-level-alert{background-color:#dc3545}.badge.log-level-emergency{background-color:#dc3545}.log-message{color:#b1b1b1;width:70%;word-break:break-word;overflow-wrap:break-word} +.log-badge{display:inline-block;padding:0 5px;box-sizing:border-box;border-radius:3px;color:#fff;font-size:11px;font-weight:bold}.log-badge.log-level-debug{background-color:#ccc}.log-badge.log-level-info{background-color:#6c757d}.log-badge.log-level-notice{background-color:#28a745}.log-badge.log-level-warning{background-color:#ffc107}.log-badge.log-level-error{background-color:#dc3545}.log-badge.log-level-critical{background-color:#dc3545}.log-badge.log-level-alert{background-color:#dc3545}.log-badge.log-level-emergency{background-color:#dc3545}.log-message{color:#b1b1b1;width:70%;word-break:break-word;overflow-wrap:break-word} diff --git a/packages/plugin/src/templates/logs/error.twig b/packages/plugin/src/templates/logs/error.twig index 069419012..5dcd86c11 100644 --- a/packages/plugin/src/templates/logs/error.twig +++ b/packages/plugin/src/templates/logs/error.twig @@ -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> diff --git a/packages/plugin/src/templates/logs/index.twig b/packages/plugin/src/templates/logs/index.twig index 55545e90c..8c83ba3e0 100644 --- a/packages/plugin/src/templates/logs/index.twig +++ b/packages/plugin/src/templates/logs/index.twig @@ -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> diff --git a/packages/styles/src/cp/logs/logs.scss b/packages/styles/src/cp/logs/logs.scss index f0c0f1d6d..823619e54 100644 --- a/packages/styles/src/cp/logs/logs.scss +++ b/packages/styles/src/cp/logs/logs.scss @@ -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;