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

Fix markdown table background #6320

Merged
merged 2 commits into from
Feb 3, 2025
Merged

Fix markdown table background #6320

merged 2 commits into from
Feb 3, 2025

Conversation

mstrasinskis
Copy link
Contributor

Motivation

Currently, there is no background in Markdown tables and pre blocks in the light theme.

Changes

  • Different colors were used for the dark theme. These colors were also applied to the light theme.

Tests

  • Tested locally.
Before image
After image

Todos

  • Add entry to changelog (if necessary).
    Not necessary.

@mstrasinskis mstrasinskis marked this pull request as ready for review February 3, 2025 07:39
@mstrasinskis mstrasinskis requested a review from a team as a code owner February 3, 2025 07:39
Copy link
Contributor

@yhabib yhabib left a comment

Choose a reason for hiding this comment

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

Much better 👌

@mstrasinskis mstrasinskis added this pull request to the merge queue Feb 3, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 3, 2025
@mstrasinskis mstrasinskis added this pull request to the merge queue Feb 3, 2025
Merged via the queue into main with commit 395ad2a Feb 3, 2025
32 checks passed
@mstrasinskis mstrasinskis deleted the fix-markdown-table-bg branch February 3, 2025 17:29
@mstrasinskis mstrasinskis mentioned this pull request Feb 4, 2025
1 task
github-merge-queue bot pushed a commit that referenced this pull request Feb 4, 2025
# Motivation

Currently, there are large side gaps on mobile that take up too much
space. This PR improves the UI by reducing those gaps, allowing more
content to be displayed on mobile.

Demo:
https://qsgjb-riaaa-aaaaa-aaaga-cai.mstr-ingress.devenv.dfinity.network/

# Changes

- npm run upgrade:gix to fetch [related
changes](dfinity/gix-components#572).
- Update mobile styles:
- Add a margin to the filter buttons because they have a negative
margin. Otherwise, their borders are partly hidden.
  - Align the universe selector with the content width.
  - Avoid extra padding on portfolio page.

# Tests

- ~Add global ResizeObserver mock, because of [changes in
gix-components](dfinity/gix-components#565
Not needed [anymore](#6320).
- Still pass.
- Screenshots updated.
- Tested manually.

| Before | After |
|--------|--------|
| <img width="385" alt="image"
src="https://github.com/user-attachments/assets/5215a783-c567-4374-be93-98505ab22b86"
/> | <img width="388" alt="image"
src="https://github.com/user-attachments/assets/1580f18e-9158-49c6-be99-4782c530cbf1"
/> |
| <img width="387" alt="image"
src="https://github.com/user-attachments/assets/96eb9131-48c9-4953-954c-05dce5ffd73d"
/> | <img width="386" alt="image"
src="https://github.com/user-attachments/assets/2ecb5e16-5553-4a8b-8949-dce90f106f93"
/> |
| <img width="385" alt="image"
src="https://github.com/user-attachments/assets/14ce43ac-a5e7-47af-afe8-16a26e146f9d"
/> | <img width="387" alt="image"
src="https://github.com/user-attachments/assets/458d3157-9f70-4327-8ee7-f3fc60b5b860"
/> |
| <img width="388" alt="image"
src="https://github.com/user-attachments/assets/bd1b6eda-e9cb-4cbc-87b2-66f95ce531b6"
/> | <img width="386" alt="image"
src="https://github.com/user-attachments/assets/2a9c44cc-d2d9-481d-b699-68cc15bc9c3b"
/> |

# Todos

- [ ] Add entry to changelog (if necessary).
not necessary
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