mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 12:41:25 +08:00
better centering of summary expansion button
This commit is contained in:
@ -51,21 +51,24 @@ details .lazyYT-container {
|
|||||||
|
|
||||||
summary:before {
|
summary:before {
|
||||||
content: '' !important;
|
content: '' !important;
|
||||||
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
summary {
|
summary {
|
||||||
@include unselectable;
|
@include unselectable;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
text-align: center;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
color: #aaa;
|
color: #aaa;
|
||||||
background: #f1f1f1;
|
background: #f1f1f1;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
width: 20px;
|
width: 21px;
|
||||||
display: flex;
|
|
||||||
text-align: center;
|
|
||||||
vertical-align: middle;
|
|
||||||
line-height: 12px;
|
line-height: 12px;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
summary:hover {
|
summary:hover {
|
||||||
|
Reference in New Issue
Block a user