fix: 增加图库吸顶区域与列表的间距
This commit is contained in:
@@ -465,6 +465,7 @@ body {
|
|||||||
z-index: 10;
|
z-index: 10;
|
||||||
background: var(--app-subtle);
|
background: var(--app-subtle);
|
||||||
margin-block: 10px 0;
|
margin-block: 10px 0;
|
||||||
|
padding-bottom: 12px;
|
||||||
}
|
}
|
||||||
.gallery-sticky-controls > .form-image-filter-region {
|
.gallery-sticky-controls > .form-image-filter-region {
|
||||||
margin-block: 0;
|
margin-block: 0;
|
||||||
|
|||||||
@@ -152,6 +152,10 @@ describe('全站平面主题', () => {
|
|||||||
)
|
)
|
||||||
expect(css).toMatch(/\.asset-impact-links\s*\{[^}]*width:\s*max-content;[^}]*white-space:\s*nowrap;/)
|
expect(css).toMatch(/\.asset-impact-links\s*\{[^}]*width:\s*max-content;[^}]*white-space:\s*nowrap;/)
|
||||||
expect(css).toMatch(/\.gallery-sticky-controls > \.form-image-filter-region\s*\{[^}]*margin-block:\s*0;/)
|
expect(css).toMatch(/\.gallery-sticky-controls > \.form-image-filter-region\s*\{[^}]*margin-block:\s*0;/)
|
||||||
|
// 列表前的间距属于吸顶容器内部,滚动时仍由不透明背景覆盖。
|
||||||
|
expect(css).toMatch(
|
||||||
|
/\.gallery-workspace-page \.gallery-sticky-controls\s*\{[^}]*margin-block:\s*10px 0;[^}]*padding-bottom:\s*12px;/
|
||||||
|
)
|
||||||
expect(css).toMatch(
|
expect(css).toMatch(
|
||||||
/\.asset-impact-links\s*\{[^}]*align-items:\s*center;[^}]*min-height:\s*32px;[^}]*padding-block:\s*6px;/
|
/\.asset-impact-links\s*\{[^}]*align-items:\s*center;[^}]*min-height:\s*32px;[^}]*padding-block:\s*6px;/
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user