Fix styles on watchlater page

This commit is contained in:
the1812 2025-02-14 08:17:00 +08:00
parent cbf8cbdef9
commit eb767a311e
4 changed files with 7 additions and 3 deletions

View File

@ -35,6 +35,7 @@ export const entry: ComponentEntry = async ({ metadata: { name } }) => {
'https://www.bilibili.com/opus', 'https://www.bilibili.com/opus',
'https://www.bilibili.com/account/history', 'https://www.bilibili.com/account/history',
'https://www.bilibili.com/v/topic/detail', 'https://www.bilibili.com/v/topic/detail',
'https://www.bilibili.com/watchlater/list',
] ]
if (!globalFixedExclude.some(p => matchUrlPattern(p))) { if (!globalFixedExclude.some(p => matchUrlPattern(p))) {
addComponentListener( addComponentListener(

View File

@ -40,7 +40,7 @@
<div v-if="card.percent" class="progress" :style="{ width: card.percent * 100 + '%' }" /> <div v-if="card.percent" class="progress" :style="{ width: card.percent * 100 + '%' }" />
</a> </a>
<a class="title" target="_blank" :href="card.href" :title="card.title">{{ card.title }}</a> <a class="title" target="_blank" :href="card.href" :title="card.title">{{ card.title }}</a>
<div class="info"> <div class="info-row">
<a <a
class="up" class="up"
target="_blank" target="_blank"
@ -352,7 +352,7 @@ export default Vue.extend({
color: var(--theme-color) !important; color: var(--theme-color) !important;
} }
} }
.info { .info-row {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: flex-end; align-items: flex-end;

View File

@ -619,7 +619,7 @@ html {
&:not(.iframe) { &:not(.iframe) {
&, &,
body { body {
@include background-color('2'); background-color: var(--bg1, #222) !important;
} }
} }
} }

View File

@ -1,6 +1,9 @@
@import 'common'; @import 'common';
@mixin markdown { @mixin markdown {
line-height: normal; line-height: normal;
> * {
font-size: inherit;
}
h1, h1,
h2, h2,
h3, h3,