Skip to content

Idea at resolving an issue #11472

Closed Answered by wkurniawan07
drblaui asked this question in Q&A
Nov 17, 2021 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

I have to change quite a lot under /src/web/app.

I'm not so sure you need to change "quite a lot" of files. While it's true that there are a few places whereby profile picture is shown, they're likely coming from/defined in the same component.

using JS/TS to basically calculate the ratio and size down the image according to that

It should work theoretically but sounds like too much work/additional code for a marginal gain.

the last approach [CSS attributes] is a bit harder to test, since it would require GUI Tests with Selenium

This is a non-issue. CSS definitions are never meant for automated testing.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@drblaui
Comment options

@wkurniawan07
Comment options

@drblaui
Comment options

Answer selected by drblaui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants