Add scoped postbox template previews
This commit is contained in:
@@ -466,6 +466,83 @@
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.postbox-relation-options {
|
||||
min-height: 38px;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-content: center;
|
||||
gap: 8px 14px;
|
||||
}
|
||||
|
||||
.postbox-relation-options label {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 7px;
|
||||
color: var(--text-strong);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.postbox-relation-options input {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.postbox-template-preview {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
border-top: var(--border-line);
|
||||
margin-top: 18px;
|
||||
padding-top: 16px;
|
||||
}
|
||||
|
||||
.postbox-preview-metrics.metric-grid {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.postbox-preview-targets {
|
||||
max-height: 280px;
|
||||
display: grid;
|
||||
gap: 1px;
|
||||
overflow: auto;
|
||||
background: var(--border-color);
|
||||
border: var(--border-line);
|
||||
}
|
||||
|
||||
.postbox-preview-targets > div {
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
background: var(--surface);
|
||||
padding: 10px 12px;
|
||||
}
|
||||
|
||||
.postbox-preview-targets > div > div:first-child {
|
||||
min-width: 0;
|
||||
display: grid;
|
||||
gap: 2px;
|
||||
}
|
||||
|
||||
.postbox-preview-targets span,
|
||||
.postbox-preview-targets small {
|
||||
color: var(--muted);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.postbox-preview-targets code {
|
||||
overflow: hidden;
|
||||
color: var(--text-strong);
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.postbox-preview-status {
|
||||
flex: 0 0 auto;
|
||||
display: grid;
|
||||
justify-items: end;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.postbox-form-note {
|
||||
margin: 15px 0 0;
|
||||
color: var(--muted);
|
||||
|
||||
Reference in New Issue
Block a user