Repository navigation
Put the hero's lead on two lines, with the description always below it - #33
Merged
Merged
Conversation
The bold lead now reads "Writing SQL is no longer the hard part." and, on its own line, "Knowing it's right, and keeping it that way, is." It is a block, so the grey description always starts on a new line; at 1440 px it used to run on after the bold text.
Deploying sqlstack with
|
| Latest commit: |
6316e99
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://dc23f69b.sqlstack.pages.dev |
| Branch Preview URL: | https://feat-hero-lede-lines.sqlstack.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The hero's bold lead gains its second clause, and the grey description should always start on its own line. At 1440 px the description ran on straight after the bold text.
Changes
.lede strongis a block, so the description always starts below it.text-wrap: prettykeeps a phone from leaving "is." on a line of its own.styles.css.Verification
npm test: 9 passed. The hero test now checks that the description starts below the bold lines; it fails with the block display removed.node scripts/stamp-assets.mjs --checkpasses.