Skip to content

fix: Responsiveness for low width - #33

Draft
koger23 wants to merge 1 commit into
Sese-Schneider:mainfrom
koger23:koger23-patch-fix-line-svg-responsivity
Draft

fix: Responsiveness for low width#33
koger23 wants to merge 1 commit into
Sese-Schneider:mainfrom
koger23:koger23-patch-fix-line-svg-responsivity

Conversation

@koger23

@koger23 koger23 commented Jul 7, 2024

Copy link
Copy Markdown

SVG line was not responsive in smaller size, it had overflow on the left.

Removing height solved the issue, but aligned the svg lower to the bottom compared to the original solution, which seemed to be fixed by adding 3px padding to the bottom.

Before:
image

After:
image

SVG line was not responsive in smaller size, it has overflow on the left.
Removing height solved the issue, but aligned the svg lower to the bottom, which seemed to be fixed by adding 3px padding to the bottom.
@Sese-Schneider
Sese-Schneider self-requested a review July 18, 2024 12:09
@Sese-Schneider Sese-Schneider self-assigned this Jul 18, 2024
@Sese-Schneider Sese-Schneider added the bug Something isn't working label Jul 18, 2024

@Sese-Schneider Sese-Schneider left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Hi @koger23,
Thank you for your PR.

Unfortunately, the change breaks the "normal" view:

main:

image

 width: 100%;
 height: 15px;

PR:

image

width: 100%;
padding: 3px;

@koger23

koger23 commented Aug 1, 2024

Copy link
Copy Markdown
Author

Oh, sorry about that, I forgot to test it on greater screen, I will working on it.

@Sese-Schneider Sese-Schneider changed the title Update energy-overview-card.ts fix: Responsiveness for low width Aug 6, 2024
@Sese-Schneider
Sese-Schneider marked this pull request as draft August 6, 2024 10:07
@Sese-Schneider Sese-Schneider removed their assignment Aug 29, 2024
@Sese-Schneider Sese-Schneider linked an issue May 1, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Styling not properly scaled for line

2 participants