-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Headings: accessibility, hierarchy, and cosmetics of in-line code
therein
#15915
Conversation
We'd probably want the same styles on all our code headings then, no? We have those in a lot of places. |
I count 29 other instances, yes. If you prefer
|
LGTM |
@mdo You down with this? |
As a result of #15946 there are other instances in documentation where we have in-line code in headings. Fixed.
LGTM as well. Still waiting for @mdo's blessing :) |
code
therein
👍 from me too |
I am very much in favor of using |
@StevenBlack: can you fetch and rebase? |
@@ -28,6 +28,11 @@ body { | |||
font-weight: normal; | |||
} | |||
|
|||
/* In-line code within headings retain the heading background */ |
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.
It's inline
and not in-line
as far as I can tell.
Also, break one selector per line.
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.
@XhmikosR Confirming: in-line
is correct usage.
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.
I'd rather have it inline
.
@StevenBlack: Also squash the patches and take care of my previous comment please. |
Add upstream patch comment for #15947
As a result of #15946 there are other instances in documentation where we have in-line code in headings. Fixed.
…trap into docs.js.button * 'docs.js.button' of https://github.com/StevenBlack/bootstrap: Covering all instances of in-line code in headings Code in headings retain heading background color Added code tags to method sub-headings Accessibility and cosmetic changes to headings Conflicts: docs/_includes/js/popovers.html docs/_includes/js/tooltips.html docs/assets/css/src/docs.css
Having no success squashing. |
@StevenBlack You'll be presented with a list of commits that say Change all except the first Then do a git push with (I believe) |
Looks like the rebase had some problems. I'm happy to do the squashing when merging this. Just waiting on @mdo to approve the style changes. |
Don't specify the number of commits. Just run git rebase --i
|
And we do this busy-work because....? Just curious. |
Because it's useless to have many patches for the same thing apart from
|
Ah. Sorry @XhmikosR I've had bad luck doing it that way. As long as it works though in the end that's what matters. But yeah, @StevenBlack having a single commit to point to for a patch, in my opinion, can make it easier to identify where a regression or bug was introduced and trace it back to the correct issue so you don't have 15+ commits for a single patch. Just my opinion though 😃 |
Two changes in the javascript button documentation, methods section: structural and cosmetic.
Before we had a
h2
-h4
hierarchy. Theh4
was javascript code.Changing to a
h2
-h3
hierarchy looks kind of wonky since theh3
is code, and it heads a single-line explanation.After — in this pull request — we have an
h2
with a definition list.Note I added a
p
tag on thedd
elements to get a better looking bottom margin betweendt
elements in the list.