Skip to content

New article text banner: fix line-height - #3731

Merged
Alkarex merged 2 commits into
FreshRSS:edgefrom
math-GH:new-article-text-banner
Aug 4, 2021
Merged

Alkarex merged 2 commits into
FreshRSS:edgefrom
math-GH:new-article-text-banner

Conversation

@math-GH

@math-GH math-GH commented Jul 28, 2021

Copy link
Copy Markdown
Contributor

Theme: Origine

before (big gap between the lines):
grafik

after:
grafik

How to test the feature manually:

  1. wait till the feeds get an update

Pull request checklist:

  • clear commit messages
  • code manually tested
  • unit tests written (optional if too hard)
  • documentation updated

}

#new-article > a {
line-height: 3em;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sidenote but line-height should not normally (if ever) use units.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this line I deleted. It is not added ;)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know, but it's important not to repeat this mistake.

@Frenzie Frenzie left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm in principle

Comment thread p/themes/Origine/origine.css Outdated
background: #0084cc;
text-align: center;
font-size: 0.9em;
padding: 1em;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the order right?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a rule of ordering the css rules?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, but there seems to be some issue with the CI atm.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should go at the top, not bottom.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@Frenzie Frenzie added this to the 1.19.0 milestone Jul 29, 2021
@Alkarex

Alkarex commented Aug 4, 2021

Copy link
Copy Markdown
Member

Thanks! A check for a similar issue in the other themes would be welcome

@Alkarex
Alkarex merged commit 15358f9 into FreshRSS:edge Aug 4, 2021
@math-GH
math-GH deleted the new-article-text-banner branch August 4, 2021 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants