Repository navigation
feat(skeleton-text): adds animated, support for border-radius and height - #17612
Merged
Merged
Conversation
- moves most of the CSS to the host element so that it's easier to customize the skeleton text - adds auto inherit for border-radius - moves the width to the parent element making it easier to style - moves height to 100% so it will naturally fill an avatar and thumbnail - adds animated property defaulted to `false` - removes mode specific styles as they're the same - changes background to an rgba making it easier to customize this needs to be reviewed to make sure there are no breaking changes, plus an API decision needs to be made
brandyscarney
added a commit
to ionic-team/ionic-docs
that referenced
this pull request
Feb 26, 2019
- this has an ugly hack in it to make thumbnail take up the full height, it will need to be removed with this PR: ionic-team/ionic-framework#17612 references #463
- this allows skeleton text to just be normal sentences in a content - only apply height 100% if inside of media (this is so that it will work with our shadow elements, otherwise it will automatically inherit) - allows customization of height using line-height & margin
- documents CSS props properly
- removes the 100% default from the width prop - sets 100% via CSS so it still defaults to 100% width - allows the element width to be styled using CSS classes or inline styles
brandyscarney
marked this pull request as ready for review
February 27, 2019 21:07
liamdebeasi
approved these changes
Feb 27, 2019
Member
Author
|
Published a dev build with this if anyone wants to try it out early: |
|
Is there any way so we can change the degree of inclination of loading effect from vertical left to right to some degree left to right ? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
❗️ dev build including this PR:
4.1.0-dev.201902272232.d66b12b❗️falsemasterfeat-skeleton-text-animated