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

Feature/minor doc fixes #863

Merged
merged 6 commits into from
Sep 8, 2017
Merged

Feature/minor doc fixes #863

merged 6 commits into from
Sep 8, 2017

Conversation

jennmedellin
Copy link
Collaborator

@jennmedellin jennmedellin commented Sep 8, 2017

Description

Fix minor margin, padding, and text issues in Covalent Docs examples.

What's included?

  • Do not use "Dismiss" per Material Design

Reworked snackbars and alert in Design Patterns > Alerts
Use "Ok" on alert and single word confirmation on other dialogs

  • In Componets> Dynamic Forms > Dynamic Booleans example, effects cut off in the corner

Add margin to td-dynamic-forms

  • In Components > Paging > Paging with everything demo, prevent wrapping on resize

Reduce default margin in paging component SCSS

Test Steps

  • Verify items above

General Tests for Every PR

  • ng serve --aot still works.
  • npm run lint passes.
  • npm test passes and code coverage is not lower.
  • npm run build still works.
Design Patterns > Alerts examples

covalent_alert

Components > Dynamic Forms > Dyamic Boolean Elements example

covalent_boolean

Components > Paging

covalent_paging

jm186140 added 4 commits September 7, 2017 18:58
- Do not include action on toasts/snackbars for dismiss
- Use 'Ok' on alert rather than "Dismiss"
- Use single word actions if possible
- Duplicated in HTML and TS because of example with code sample
- Add whitespace
- add some padding on dynamic buttons so they don't get cut off in the demo.
- reduce margin on all td-paging-bar elements to prevent wrapping in demos
@@ -0,0 +1,4 @@
/* Set margin on all elements in td-paging-bar to 5px to prevent wrapping in examples */
.td-paging-bar * {
Copy link
Contributor

Choose a reason for hiding this comment

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

hmmm i'm concerned with using custom scss in docs, it will potentially mislead users

Copy link
Collaborator Author

@jennmedellin jennmedellin Sep 8, 2017

Choose a reason for hiding this comment

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

Adjusted to breakpoints and link count instead of padding/margin.

- Avoid custom CSS
- Adjust breakpoinsts and links shown instead
@aciccarello
Copy link
Contributor

BTW, this closes #844. Thanks @jennmedellin

@emoralesb05 emoralesb05 added this to the Beta.7 milestone Sep 8, 2017
@emoralesb05
Copy link
Contributor

LGTM

- Minor chagne to breakpoints for Paging with Everything demo
@emoralesb05 emoralesb05 merged commit 2342dea into develop Sep 8, 2017
@emoralesb05 emoralesb05 deleted the feature/minor-fixes-docs branch September 8, 2017 21:09
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.

4 participants