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

[Table] fix table wide vertical+text alignment #251

Merged
merged 3 commits into from
Nov 16, 2018

Conversation

lubber-de
Copy link
Member

Description

By default thead and tbody don't inherit a probably given alignment from its parent table element itself. To make this work clean in FUI, this PR moves the default middle vertical alignment (by the browser, not by the framework) to the top element table instead and makes thead and tbody inherit from that.
This way a bottom|middle|top alignment given to a table directly works as intended in every browser )

Testcase

https://jsfiddle.net/cws74Lpk/6/

Closes

Semantic-Org/Semantic-UI#6516

@lubber-de lubber-de added type/feat Any feature requests or improvements lang/css Anything involving CSS state/awaiting-reviews Pull requests which are waiting for reviews tag/sui-issue Taken from an existing Issue/PR of SUI labels Nov 16, 2018
Copy link
Member

@ColinFrick ColinFrick left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@y0hami y0hami left a comment

Choose a reason for hiding this comment

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

LGTM

@y0hami y0hami removed the state/awaiting-reviews Pull requests which are waiting for reviews label Nov 16, 2018
@y0hami y0hami merged commit 28c557a into fomantic:beta Nov 16, 2018
@y0hami y0hami added this to the 2.7.0 milestone Nov 16, 2018
@lubber-de lubber-de deleted the fix/6516/table_alignment_inheritance branch November 16, 2018 13:46
This was referenced Dec 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang/css Anything involving CSS tag/sui-issue Taken from an existing Issue/PR of SUI type/feat Any feature requests or improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants