mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
UX:; scope details change (#24715)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user