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

enhance(client): html-app-container css #1476

Merged
merged 2 commits into from
Oct 16, 2024

Conversation

wesleyboar
Copy link
Collaborator

@wesleyboar wesleyboar commented Oct 15, 2024

Overview:

Move and change .html-app-container CSS.

PR Status:

  • Ready.

Note

After prod deploy, delete <style …>…</style> from HTML of each such variant. (See "Notes".)

Related Jira tickets:

Summary of Changes:

  • delete old global styles
  • add new styles (and put them where they are used)

Testing Steps:

Warning

Not deployed to dev. To test, do so locally.

  1. Run/Deploy site.
  2. Create/Have an app with a variant that has "HTML" e.g. EE-UQ (dev admin).
  3. Open that variant in the workspace e.g. EE-UQ (dev workspace).
  4. Verify class ._html-app-container_... is on the wrapper div (from workspace code).
  5. Verify <p>’s inside have extra margin (margin-block: 1em 2em).

UI Photos:

Before After
BEFORE - paragraphs AFTER - paragraphs
BEFORE - container AFTER - container

Notes:

The result on existing app entry variants HML is uglier, but the new styles are meant for the new HTML, which is already on prod e.g. EE-UQ (prod).

I hacked the styles onto production by including them in the "HTML" of every such app variant.PROD - hack

Stakeholder has been asked to review.

- remove old global styles
- add new styles where they are used
@rstijerina rstijerina merged commit aa08e32 into main Oct 16, 2024
5 checks passed
@rstijerina rstijerina deleted the enhance/DSAPP-60-html-app-container-css branch October 16, 2024 18:26
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.

2 participants