From ac6d6d32b4260b3bf97be4f30295846a969cf1cb Mon Sep 17 00:00:00 2001 From: Jarian Cottingham Date: Sat, 21 Feb 2026 15:42:16 -0600 Subject: [PATCH] Fix play button positioning and remove green background --- renderer.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/renderer.js b/renderer.js index 2882900..1896b9f 100644 --- a/renderer.js +++ b/renderer.js @@ -246,16 +246,18 @@ function addTagToEpisode(filePath, tagType) { playButton.title = 'Play file'; playButton.dataset.filePath = filePath; - // Style the play button + // Style the play button to match the existing tag icons playButton.style.marginLeft = '10px'; - playButton.style.padding = '5px 10px'; + playButton.style.padding = '0 5px'; // Reduced padding to prevent shifting playButton.style.border = 'none'; playButton.style.borderRadius = '3px'; playButton.style.cursor = 'pointer'; - playButton.style.backgroundColor = '#28a745'; - playButton.style.color = 'white'; + playButton.style.backgroundColor = 'transparent'; // Remove green background + playButton.style.color = '#007bff'; // Match other icons color playButton.style.fontWeight = 'bold'; playButton.style.fontSize = '14px'; + playButton.style.height = '20px'; // Fixed height to prevent shifting + playButton.style.lineHeight = '20px'; // Center vertically // Add click handler for play button playButton.addEventListener('click', function(e) {