-
Notifications
You must be signed in to change notification settings - Fork 40
Staging --> master (v2.1.9) #2261
Conversation
Add new navs to site
Increased contrast of map greens
Brings link/button blue into 508 compliance over $pale-gray
Official Website banner: simplified / Global header changes
Megachart negatives numbers
Fix position of oil rig on homepage
migrate to federalist.fr.cloud.gov
Other revenue megachart
2016 Federal revenue by company
Darkened county fills on case-study — and state laws — maps
* Various table format adjustments - Equalized top and bottom cell padding - Changed indenting method to padding-left - Added styling for the “sup” class, which enabled me to shift the superscript numbers slightly down, as well as adding a little spacing on the left (so they don’t almost hit the adjacent text) - Tightened up the table line height a bit On these tables, we still need to adjust the leading for lines which have footnotes. (The number forces line heights to be too generous.) Definitely high likelihood of syntax glitches here! :fingers crossed: More to come! * fixed footnote markdown bug * az
* added new search fields * coerce url * coerce url * coerce
Brought this table into line with others, style wise, and eliminated the ` article_table-gray ` class, which is now used nowhere. **Note: I couldn’t find what’s causing the gray fill on the table header. Help!**
We may now be mergeable! 🙏
Tables schmables
Address broken internal links
Dev --> staging
@include respond-to(medium-up) { | ||
@include span-columns(3); | ||
} | ||
@include respond-to(medium-up) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line should be indented 2 spaces, but was indented 3 spaces
@@ -48,11 +47,13 @@ header, | |||
} | |||
|
|||
.header-left { | |||
@include span-columns(6); | |||
@include span-columns(6); | |||
margin-bottom: $base-padding; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line should be indented 2 spaces, but was indented 3 spaces
@@ -48,11 +47,13 @@ header, | |||
} | |||
|
|||
.header-left { | |||
@include span-columns(6); | |||
@include span-columns(6); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line should be indented 2 spaces, but was indented 3 spaces
@@ -12,15 +12,16 @@ def create_store(collections) | |||
obj = {} | |||
collections.each do |collection| | |||
collection['docs'].each do |doc| | |||
if doc.data['title'] && doc.data['description'] && doc.data['tag'] && doc.data['permalink'] | |||
url = doc.data['permalink'] || doc.url | |||
if doc.data['title'] && doc.data['description'] && doc.data['tag'] && url |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use a guard clause instead of wrapping the code inside a conditional expression.
@@ -74,6 +77,28 @@ def intcomma(value, delimiter=",") | |||
orig == copy ? copy : intcomma(copy, delimiter) | |||
end | |||
|
|||
def intcomma_dollar(value, delimiter=",") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Surrounding space missing in default value assignment.
Prefer single-quoted strings when you don't need string interpolation or special symbols.
@@ -5,7 +5,7 @@ def generate(site) | |||
# Federalist preview URL for this branch. | |||
branch = ENV['BRANCH'] | |||
if branch && branch != 'master' | |||
site.config['url'] = "https://federalist.18f.gov/preview/18F/doi-extractives-data/#{branch}" | |||
site.config['url'] = "https://federalist.fr.cloud.gov/preview/18f/doi-extractives-data/#{branch}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line is too long. [105/100]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
😎 PREVIEW
Changes proposed in this pull request:
/cc @gemfarmer @ericronne