Skip to content
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

[BUGFIX] change markup for news list #373

Merged
merged 1 commit into from
Jan 10, 2018

Conversation

hputzek
Copy link
Contributor

@hputzek hputzek commented Dec 15, 2017

News list had a bug and therefore did not scale properly depending on screensize.
(There are somtimes big gaps between elements etc...)
Absolute positioning and fixed heigths are very hard to handle in responsive designs.
Therefore the markup was changed:

Bootstrap grid classes are used now, this saves code & prevents positioning related bugs/problems.
The grid items are positioned with display: 'flex', which allows sizing the rows without using explicit, fixed values.

If no height is given to the

- Tag it looks like this:

t3kit_news-liste_


Because I wanted to keep the design nearly the same as before, I decided to set a fixed height to the article element, so this is what this PR contains:

t3kit_news-liste-fixed_height

If you have any requests before merging, keep me informed.

@hputzek hputzek force-pushed the change_markup_for_news_list_items branch from 52d8fd4 to 4d3d722 Compare December 15, 2017 14:44
@MattiasNilsson
Copy link
Contributor

@hputzek Thanks for your PR! But there is some linting errors to take care of.

@hputzek
Copy link
Contributor Author

hputzek commented Dec 27, 2017 via email

News list had a bug and therefore did not scale properly depending on screensize.
Absolute positioning and fixed heigths are very hard to handle in responsive designs.
Therefore the markup was changed:

Bootstrap grid classes are used now, this saves code prevents positioning related bugs/problems.
The grid items are positioned with display: 'flex', which allows sizing the rows without using explicit, fixed values.
@hputzek hputzek force-pushed the change_markup_for_news_list_items branch from 4d3d722 to a5c3288 Compare January 2, 2018 09:55
@aennafae aennafae merged commit b7f7bc7 into t3kit:master Jan 10, 2018
dkd-oertel added a commit to dkd/theme_t3kit that referenced this pull request Mar 22, 2018
dmh pushed a commit that referenced this pull request Jun 7, 2018
…mages. Accessibility

* [FEATURE] revert "[BUGFIX] partly revert - improve news list accessibility (#343)"

This reverts commit ed1b624.

* [FEATURE] revert "[BUGFIX] revert - change markup for news list (#373)"

This reverts commit a4286d0.

* [FEATURE] revert "[BUGFIX] revert PR adjust image height settings for news cards template (#382)"

This reverts commit b305f6a.

* [FEATURE] revert "[BUGFIX] revert PR Improve news cards accessibility (#351)"

This reverts commit 2d33074.

* [FEATURE] revert "[BUGFIX] revert news-carousel accessibility improvements (#352)"

This reverts commit f1b155e.

* Issue #83227: Add object-fit polyfill and remove background images

* update css/less

* remove unnecessary tag to fix error

* adjust less formatting for stylelint

* update css/less

* remove wrong indentation

* update css/less
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants