From e9995ee8f79a32887d00dd5aebb2f8bba0b1f4e9 Mon Sep 17 00:00:00 2001 From: HighImKevin Date: Fri, 5 Dec 2025 20:03:35 -0500 Subject: [PATCH] Change Cardbuilder Show All/Show Less to read "Expand" and "Collapse" --- scripts/cardBuilder.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/cardBuilder.js b/scripts/cardBuilder.js index 975e597..d5e26c3 100644 --- a/scripts/cardBuilder.js +++ b/scripts/cardBuilder.js @@ -1501,8 +1501,8 @@ showAllButton.type = 'button'; showAllButton.className = 'show-all-button'; showAllButton.style.cssText = 'margin-left: 10px; font-size: 12px; padding: 4px 8px; min-width: auto; background: transparent; border: 1px solid rgba(255, 255, 255, 0.3) !important; border-radius: 4px; cursor: pointer; color: var(--main-text, #fff) !important; margin-bottom: .35em; align-self: center;'; - showAllButton.textContent = 'Show All'; - showAllButton.title = 'Show all items in a grid layout'; + showAllButton.textContent = 'Expand'; + showAllButton.title = 'Show all items'; // Create scroller container const scroller = document.createElement('div'); @@ -1554,14 +1554,14 @@ // Switch back to scroll view itemsContainer.style.cssText = originalItemsContainerStyle; if (scrollButtons) scrollButtons.style.display = ''; - showAllButton.textContent = 'Show All'; + showAllButton.textContent = 'Expand'; showAllButton.title = 'Show all items in a grid layout'; isShowingAll = false; } else { // Switch to grid view itemsContainer.style.cssText = 'display: flex; flex-wrap: wrap; gap: 12px; white-space: normal; transform: none !important; transition: none !important;'; if (scrollButtons) scrollButtons.style.display = 'none'; - showAllButton.textContent = 'Show Less'; + showAllButton.textContent = 'Collapse'; showAllButton.title = 'Show items in scrollable layout'; isShowingAll = true; }