Compare commits

...

2 Commits

Author SHA1 Message Date
xRangerDE
d19e7ebc34 release: 4.6.87 .section-title flex layout + .section-title-label
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-11 06:17:23 +02:00
xRangerDE
e61940c108 cleanup: extract .section-title flex layout + .section-title-label
The sidebar's streamer section-title carried two inline flex containers:
- outer .section-title with display:flex; align-items:center; gap:6px; justify-content:space-between (so the bulk-remove X button can pin right while the title group stays left)
- inner span with display:flex; align-items:baseline; gap:8px (so the title text and the streamer counter share the same text-baseline rather than centring against each other)

.section-title is only used in this one spot, so the flex layout becomes part of the class definition (no risk of bleeding into other usages). The inner-span pattern moves to a dedicated .section-title-label class. Two inline style attributes gone.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-11 06:17:16 +02:00
4 changed files with 18 additions and 5 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "twitch-vod-manager",
"version": "4.6.86",
"version": "4.6.87",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "twitch-vod-manager",
"version": "4.6.86",
"version": "4.6.87",
"license": "MIT",
"dependencies": {
"axios": "^1.6.0",

View File

@ -1,6 +1,6 @@
{
"name": "twitch-vod-manager",
"version": "4.6.86",
"version": "4.6.87",
"description": "Twitch VOD Manager - Download Twitch VODs easily",
"main": "dist/main.js",
"author": "xRangerDE",

View File

@ -216,8 +216,8 @@
</div>
</nav>
<div class="section-title" id="streamerSectionTitle" style="display:flex; align-items:center; gap:6px; justify-content:space-between;">
<span style="display:flex; align-items:baseline; gap:8px;">
<div class="section-title" id="streamerSectionTitle">
<span class="section-title-label">
<span id="streamerSectionTitleText">Streamer</span>
<span id="streamerSectionCounter" class="streamer-section-counter"></span>
</span>

View File

@ -105,6 +105,19 @@ body {
color: var(--text-secondary);
padding: 15px 15px 8px;
letter-spacing: 0.5px;
display: flex;
align-items: center;
gap: 6px;
justify-content: space-between;
}
/* Inner label group inside .section-title keeps the title text and
the streamer-section-counter aligned on the text baseline as a single
unit, separate from the bulk-remove X button that pins to the right. */
.section-title-label {
display: flex;
align-items: baseline;
gap: 8px;
}
.streamers {