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:
Max Goodman
2013-10-04 13:38:59 -07:00
committed by Neil Williams
parent b919760015
commit a4ff508ba5

View File

@@ -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>