mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 07:11:34 +08:00
PERF: eliminate some slow CSS selectors (#25392)
This commit is contained in:
@ -1,7 +1,4 @@
|
||||
div.poll {
|
||||
> * {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
margin: 1em 0;
|
||||
border: 1px solid var(--primary-low);
|
||||
display: grid;
|
||||
@ -38,6 +35,7 @@ div.poll {
|
||||
}
|
||||
|
||||
.poll-info {
|
||||
box-sizing: border-box;
|
||||
grid-area: info;
|
||||
display: flex;
|
||||
line-height: var(--line-height-medium);
|
||||
@ -207,6 +205,7 @@ div.poll {
|
||||
}
|
||||
|
||||
.poll-container {
|
||||
box-sizing: border-box;
|
||||
grid-area: poll;
|
||||
padding: 1em;
|
||||
width: 100%;
|
||||
@ -230,6 +229,7 @@ div.poll {
|
||||
}
|
||||
|
||||
.poll-buttons {
|
||||
box-sizing: border-box;
|
||||
grid-area: buttons;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
|
Reference in New Issue
Block a user