NUKnightLab / NUKnightLab/StoryMapJS

Styles on "code" make list formatting weird

Open
#375 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
248
Forks
61
Avg merge
1m
Merged PRs (30d)
1

Description

https://github.com/NUKnightLab/StoryMapJS/blob/002a98bed8f3b79895ba780ec1389b68ed1f08f7/static/css/site.css#L28-L29

This was introduced in #309 to prevent long URLs from being broken in the "Help" section of https://storymap.knightlab.com/#help, under "How can I link to a specific slide?".

There are two problems here:

Here's the "Advanced" page with code { display: block; }:

screen shot 2017-08-19 at 12 49 36 pm

And without:

screen shot 2017-08-19 at 12 49 52 pm

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with static/css/site.css at lines 28-29 and compare the Advanced page with and without the code styles. Check the Help section and the linked issue #309 to understand whether the long-URL behavior still needs these rules. Done means inline code formatting works on the Advanced page without reintroducing the reported Help-page problem.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, javascript
Domain
frontend
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.