-
Notifications
You must be signed in to change notification settings - Fork 843
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
<EuiFlexGroup> alignItems='baseline' support #423
Labels
Comments
There are actually a lot of values for the typical CSS values:/* Basic keywords */
align-items: normal;
align-items: stretch;
/* Positional alignment */
align-items: center; /* Pack items around the center */
align-items: start; /* Pack items from the start */
align-items: end; /* Pack items from the end */
align-items: flex-start; /* Pack flex items from the start */
align-items: flex-end; /* Pack flex items from the end */
align-items: self-start;
align-items: self-end;
align-items: left; /* Pack items from the left */
align-items: right; /* Pack items from the right */
/* Baseline alignment */
align-items: baseline;
align-items: first baseline;
align-items: last baseline; /* Overflow alignment (for positional alignment only) */
align-items: safe center;
align-items: unsafe center;
/* Global values */
align-items: inherit;
align-items: initial;
align-items: unset; Supported: stretch: null,
flexStart: 'euiFlexGroup--alignItemsFlexStart',
flexEnd: 'euiFlexGroup--alignItemsFlexEnd',
center: 'euiFlexGroup--alignItemsCenter', |
Correct, that's the only one I needed that doesn't seem to be covered today
…On Feb 16, 2018 20:43, "Caroline Horn" ***@***.***> wrote:
There are actually a lot of values for the typical align-items css
property that aren't available in EuiFlexGroup.
CSS values:
/* Basic keywords */ align-items: normal; align-items: stretch;
/* Positional alignment */ align-items: center; /* Pack items around the center */ align-items: start; /* Pack items from the start */ align-items: end; /* Pack items from the end */ align-items: flex-start; /* Pack flex items from the start */ align-items: flex-end; /* Pack flex items from the end */ align-items: self-start; align-items: self-end; align-items: left; /* Pack items from the left */ align-items: right; /* Pack items from the right */
/* Baseline alignment */align-items: baseline; align-items: first baseline; align-items: last baseline; /* Overflow alignment (for positional alignment only) */ align-items: safe center; align-items: unsafe center;
/* Global values */ align-items: inherit; align-items: initial; align-items: unset;
Supported:
flexStart: null,
flexEnd: 'euiFlexGroup--justifyContentFlexEnd',
center: 'euiFlexGroup--justifyContentCenter',
spaceBetween: 'euiFlexGroup--justifyContentSpaceBetween',
spaceAround: 'euiFlexGroup--justifyContentSpaceAround',
spaceEvenly: 'euiFlexGroup--justifyContentSpaceEvenly',
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#423 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AA5BlZBvhzV1BNaNE51S1IpNlLNPBulyks5tVhKOgaJpZM4SJDEn>
.
|
Based on reading through some docs, the only safe-to-implement ones (that we don't have) are: align-items: normal;
align-items: baseline; I can add these. |
cchaos
pushed a commit
to cchaos/eui
that referenced
this issue
Mar 20, 2018
…tems` prop __’normal’ doesn’t do anything__
Merged
cchaos
pushed a commit
to cchaos/eui
that referenced
this issue
Mar 20, 2018
…tems` prop __’normal’ doesn’t do anything__
cchaos
pushed a commit
to cchaos/eui
that referenced
this issue
Mar 22, 2018
…tems` prop __’normal’ doesn’t do anything__
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For text and images combinations, baseline makes more sense than flex-end, but it's not supported by this component yet.
The text was updated successfully, but these errors were encountered: