UX:; scope details change (#24715)

This commit is contained in:
chapoi
2023-12-05 14:56:17 +02:00
committed by GitHub
parent a6c79aa27a
commit 3d710fa0b8

View File

@@ -1,5 +1,8 @@
details {
position: relative;
.topic-body .cooked &,
.d-editor-preview & {
background-color: var(--primary-very-low);
padding: 0.25rem 0.75rem;
margin-bottom: 0.5rem;
@@ -18,6 +21,7 @@ details {
background-color: rgba(var(--primary-rgb), 0.05);
}
}
}
details > *,
details .lightbox-wrapper {
@@ -66,6 +70,8 @@ summary::-webkit-details-marker {
display: none;
}
.topic-body .cooked,
.d-editor-preview {
.elided {
background-color: unset;
padding: 0;
@@ -118,3 +124,4 @@ summary::-webkit-details-marker {
}
}
}
}