From 5efb91598fe5e9df029821fefdd189c9b3a492cb Mon Sep 17 00:00:00 2001 From: Katsuya HIDAKA Date: Tue, 28 Oct 2025 14:11:04 +0900 Subject: [PATCH] Remove unnecessary icon styles These icon styles do not need to be defined in the plugin because identical styles are already defined in Redmine itself, at least up to version 6.1. Defining them globally in the plugin could even cause unexpected UI issues. Removing these styles still allows icons (PNG or SVG) to display correctly from Redmine 5.1 through trunk. --- assets/stylesheets/view_customize.css | 7 ------- 1 file changed, 7 deletions(-) diff --git a/assets/stylesheets/view_customize.css b/assets/stylesheets/view_customize.css index 743413d..66fe731 100644 --- a/assets/stylesheets/view_customize.css +++ b/assets/stylesheets/view_customize.css @@ -69,10 +69,3 @@ input#view_customize_comments { .icon-view_customize-enable:not(:has(svg)) { background-image: url("../images/enable.png"); } - -/* PNG icon support for Redmine 5.1 and earlier */ -.icon:not(:has(svg)) { - background-position: 0% 50%; - background-repeat: no-repeat; - padding-left: 20px; -}