fix(editor): page blocks duplicated when multiple same page name files

This commit is contained in:
charlie
2021-02-05 18:31:08 +08:00
committed by Tienson Qin
parent 7dcebf368b
commit 0fda94a7aa
5 changed files with 83 additions and 11 deletions

View File

@@ -2,6 +2,47 @@
color: var(--ls-title-text-color);
}
.page-blocks {
&-inner {
.conflict-files-warning {
&-wrap {
font-size: 13px;
padding: 4px 15px;
padding-bottom: 8px;
line-height: 1;
margin: 5px;
margin-bottom: 20px;
border-width: 1px;
border-style: dotted;
border-radius: var(--ls-border-radius-low);
border-color: var(--ls-secondary-border-color);
> h3 {
font-weight: bold;
padding-top: 8px;
padding-bottom: 5px;
font-size: 14px;
line-height: 1.2em;
color: var(--ls-secondary-text-color);
}
}
&-it {
a {
display: flex;
align-items: center;
padding: 3px 0;
}
svg {
display: inline;
transform: scale(.6);
}
}
}
}
}
.cp__page {
&-publish-actions {
background-color: var(--ls-primary-background-color);