mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: don't send out elided message in email notifications
UX: improved details tag for elided messages
This commit is contained in:
@@ -23,4 +23,6 @@
|
||||
return text;
|
||||
});
|
||||
|
||||
Discourse.Markdown.whiteListTag("details", "class", "elided");
|
||||
|
||||
})();
|
||||
|
||||
@@ -7,6 +7,11 @@ details .lightbox-wrapper {
|
||||
display: none;
|
||||
}
|
||||
|
||||
details,
|
||||
summary {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
summary:first-of-type {
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
@@ -36,3 +41,33 @@ summary::-webkit-details-marker {
|
||||
details .lazyYT-container {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
.elided {
|
||||
color: dark-light-choose(scale-color($primary, $lightness: 65%), scale-color($secondary, $lightness: 35%));
|
||||
|
||||
summary:before {
|
||||
content: '' !important;
|
||||
}
|
||||
|
||||
summary {
|
||||
@include unselectable;
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
color: #aaa;
|
||||
background: #f1f1f1;
|
||||
border: 1px solid #ddd;
|
||||
width: 20px;
|
||||
display: flex;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
line-height: 12px;
|
||||
}
|
||||
|
||||
summary:hover {
|
||||
color: #222;
|
||||
background: #d8d8d8;
|
||||
border-color: #cdcdcd;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user