fix: restyle pager chips and restore theme ad slots
Replace the loose page-count label with a SaBlog-style 6 / 316 chip, wire inject/stylevar HTML into list and post views, and flush page cache when ads are saved. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -366,18 +366,22 @@ a:hover {
|
||||
max-width: 100%;
|
||||
}
|
||||
.pagination-info {
|
||||
background: var(--bg);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 6px;
|
||||
color: var(--muted);
|
||||
font-size: 13px;
|
||||
margin-right: 6px;
|
||||
padding: 6px 10px;
|
||||
margin-right: 4px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.pagination-links a,
|
||||
.pagination-links .current,
|
||||
.pagination-links .disabled {
|
||||
padding: 6px 14px;
|
||||
padding: 6px 10px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 6px;
|
||||
font-size: 14px;
|
||||
font-size: 13px;
|
||||
background: var(--card);
|
||||
color: var(--text);
|
||||
}
|
||||
@@ -389,6 +393,19 @@ a:hover {
|
||||
.pagination-links .disabled {
|
||||
color: var(--muted);
|
||||
}
|
||||
.theme-inject {
|
||||
margin: 12px 0;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
.theme-inject:empty {
|
||||
display: none;
|
||||
}
|
||||
.theme-inject img,
|
||||
.theme-inject iframe {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.m-footer {
|
||||
border-top: 1px solid var(--border);
|
||||
|
||||
Reference in New Issue
Block a user