fix: remove more additional indent from Chinese punctuation (#1283)
Some checks failed
CI / Test (lts/*, ubuntu-latest) (push) Has been cancelled
CI / Test (lts/*, windows-latest) (push) Has been cancelled
CI / Test (lts/-1, ubuntu-latest) (push) Has been cancelled
CI / Test (lts/-1, windows-latest) (push) Has been cancelled

This commit is contained in:
旅禾Tristan
2025-01-20 21:52:38 +08:00
committed by GitHub
parent f5468bd51c
commit 97280646cd

View File

@@ -100,16 +100,11 @@ export function setupNecessarySettingsWatchers() {
)
const removeTheIndentFromChinesePunctuationStyleEl = injectCSS(`
.video-info-container .special-text-indent[data-title^=''],
.video-info-container .special-text-indent[data-title^=''],
.video-info-container .special-text-indent[data-title^='『'],
.video-info-container .special-text-indent[data-title^=''],
p[title^='\\300c'],
p[title^='\\300e'],
p[title^='\\3010'],
h3[title^='\\300c'],
h3[title^='\\300e'],
h3[title^='\\3010'] {
.video-info-container .special-text-indent[data-title^='“'],a[title^='“'],p[title^='“'],h3[title^='“'],
.video-info-container .special-text-indent[data-title^='《'],a[title^='《'],p[title^='《'],h3[title^='《'],
.video-info-container .special-text-indent[data-title^='「'],a[title^='「'],p[title^='「'],h3[title^='「'],
.video-info-container .special-text-indent[data-title^='『'],a[title^='『'],p[title^='『'],h3[title^='『'],
.video-info-container .special-text-indent[data-title^='【'],a[title^='【'],p[title^='【'],h3[title^='【'] {
text-indent: 0 !important;
}
`)