mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-26 15:28:37 -05:00
Increase rank/midcol width selector specificity.
This style was applying to comments, making their voting arrows wider than necessary. Comments don't actually need to be lined up anyway.
This commit is contained in:
committed by
Neil Williams
parent
b919760015
commit
a4ff508ba5
@@ -23,10 +23,10 @@
|
||||
## a kooky hack to make ranks and voting arrows in the spotlight box line up
|
||||
## without late rendering or blasting style attributes everywhere
|
||||
<style>
|
||||
body > .content .rank {
|
||||
body > .content .link .rank {
|
||||
width: ${len(str(thing.max_num)) * 1.1}ex
|
||||
}
|
||||
body > .content .midcol {
|
||||
body > .content .link .midcol {
|
||||
width: ${max(len(str(thing.max_score)), 2) + 1.1}ex
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user