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;
@@ -17,6 +20,7 @@ details {
code {
background-color: rgba(var(--primary-rgb), 0.05);
}
}
}
details > *,
@@ -66,7 +70,9 @@ summary::-webkit-details-marker {
display: none;
}
.elided {
.topic-body .cooked,
.d-editor-preview {
.elided {
background-color: unset;
padding: 0;
@@ -117,4 +123,5 @@ summary::-webkit-details-marker {
cursor: pointer;
}
}
}
}