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

Fix heading spacing #1837

Closed
bnvk opened this Issue Mar 15, 2016 · 7 comments

Comments

Projects
None yet
2 participants
@bnvk

bnvk commented Mar 15, 2016

A change introduced to the SASS this morning now causes this

qubes-site-whitepsace-error

I've figured out the issue, it was specifically, this commit made earlier today. What were you trying to achieve @axon-qubes ?

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Mar 15, 2016

Member

Thank you to you and @mfc for spotting this and pointing it out. I've just reverted that commit.

I mentioned in my commit message what I was trying to achieve. To quote:

Fix heading spacing

Makes it so that each paragraph heading is closer to its own paragraph than to the previous paragraph.

Here's a screenshot of what I mean:

1

See how each paragraph heading is noticeably closer to the previous paragraph than to its own paragraph? (Might be easier to see on text-only pages, but it's evident on any page with headings and paragraphs.) I was just trying to fix that. I checked every type of page except the front page, and they all looked better, but it was my fault for not checking the front page.

Evidently my approach will not work, so would you mind taking a stab at it, @bnvk?

Member

andrewdavidwong commented Mar 15, 2016

Thank you to you and @mfc for spotting this and pointing it out. I've just reverted that commit.

I mentioned in my commit message what I was trying to achieve. To quote:

Fix heading spacing

Makes it so that each paragraph heading is closer to its own paragraph than to the previous paragraph.

Here's a screenshot of what I mean:

1

See how each paragraph heading is noticeably closer to the previous paragraph than to its own paragraph? (Might be easier to see on text-only pages, but it's evident on any page with headings and paragraphs.) I was just trying to fix that. I checked every type of page except the front page, and they all looked better, but it was my fault for not checking the front page.

Evidently my approach will not work, so would you mind taking a stab at it, @bnvk?

bnvk added a commit to bnvk/qubesos.github.io that referenced this issue Mar 15, 2016

re-added <hr> to Downloads page
fixed unclosed <strong> tag on homepage

QubesOS/qubes-issues#1837
@bnvk

This comment has been minimized.

Show comment
Hide comment
@bnvk

bnvk Mar 15, 2016

Fix heading spacing

Makes it so that each paragraph heading is closer to its own paragraph than to the previous paragraph.

Yah, I saw that commit message, but the .white-box class is something that creates the large white "background" boxes for the whole site, hence why it broke the layouts!

Yah, those margins between the titles was something that got screwed up in the merge, as there is supposed to be <hr class="more-top more-bottom"> anywho, I just sent a pull-req for that!

bnvk commented Mar 15, 2016

Fix heading spacing

Makes it so that each paragraph heading is closer to its own paragraph than to the previous paragraph.

Yah, I saw that commit message, but the .white-box class is something that creates the large white "background" boxes for the whole site, hence why it broke the layouts!

Yah, those margins between the titles was something that got screwed up in the merge, as there is supposed to be <hr class="more-top more-bottom"> anywho, I just sent a pull-req for that!

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Mar 15, 2016

Member

Yah, I saw that commit message, but the .white-boxe class is something that creates the large white "background" boxes for the whole site, hence why it broke the layouts!

I know, but we need some way to create proper spacing between sections without pushing the very first heading down (hence the negative margin).

Yah, those margins between the titles was something that got screwed up in the merge, as there is supposed to be <hr class="more-top more-bottom"> anywho, I just sent a pull-req for that!

Actually, the problem was there before that merge, and it's back again now. Another screenshot to illustrate:

2

Member

andrewdavidwong commented Mar 15, 2016

Yah, I saw that commit message, but the .white-boxe class is something that creates the large white "background" boxes for the whole site, hence why it broke the layouts!

I know, but we need some way to create proper spacing between sections without pushing the very first heading down (hence the negative margin).

Yah, those margins between the titles was something that got screwed up in the merge, as there is supposed to be <hr class="more-top more-bottom"> anywho, I just sent a pull-req for that!

Actually, the problem was there before that merge, and it's back again now. Another screenshot to illustrate:

2

@andrewdavidwong andrewdavidwong changed the title from Website homepage "white-boxes" all screwed up and overlapping to Fix heading spacing Mar 22, 2016

@andrewdavidwong andrewdavidwong added this to the Documentation/website milestone Mar 22, 2016

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Mar 22, 2016

Member

As @mfc has pointed out in #1869, the problem is even more pronounced when viewing certain pages on "narrow" screens (even ones which aren't that narrow). Example:

7

Member

andrewdavidwong commented Mar 22, 2016

As @mfc has pointed out in #1869, the problem is even more pronounced when viewing certain pages on "narrow" screens (even ones which aren't that narrow). Example:

7

bnvk added a commit to QubesOS/qubesos.github.io that referenced this issue Mar 31, 2016

@bnvk

This comment has been minimized.

Show comment
Hide comment
@bnvk

bnvk Mar 31, 2016

Fxed this with recent commit. @axon-qubes feel free to verify if ya dig!

bnvk commented Mar 31, 2016

Fxed this with recent commit. @axon-qubes feel free to verify if ya dig!

@bnvk bnvk closed this Mar 31, 2016

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Mar 31, 2016

Member

The spacing of regular text headings look better, but the heading issue from this screenshot looks unchanged.

Member

andrewdavidwong commented Mar 31, 2016

The spacing of regular text headings look better, but the heading issue from this screenshot looks unchanged.

@bnvk

This comment has been minimized.

Show comment
Hide comment
@bnvk

bnvk Apr 1, 2016

@axon-qubes yah that's an issue with Bootstraps CSS grid and making it properly responsive. This is being tracked in #1869 thanks ;)

bnvk commented Apr 1, 2016

@axon-qubes yah that's an issue with Bootstraps CSS grid and making it properly responsive. This is being tracked in #1869 thanks ;)

bnvk added a commit to QubesOS/qubesos.github.io that referenced this issue Apr 3, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment