studio
studio copied to clipboard
Fix double wrapped thumbnail icon
Summary
- Fix regressions after removing the SVG wrapper around KIcons.
- Add utility component to support contentKindIcon functionality.
References
closes #4991
Reviewer guidance
- We would want to regression test Thumbnail component and see if things do not break.
@ozer550 I wanted to note that @akolson made some fixes to svg scaling here. It'd be probably best to wait until we merge that and then rebase this PR before we proceed with further refactors.
https://github.com/learningequality/studio/pull/5147 has now been merged, so can rebase here.
To sum up our co-hack:
- Applying current calculations on
KIconis not as straightforward as I expected - @ozer550 will explore if his flex approach can be adjusted so visually there's no regressions
- If we have trouble with that, together we will think if there are ways to adjust
KIconto allow for easier scaling
Hi @ozer550, overall looking good, and I like the way it's simpler now. I previewed both compact and non-compact mode and haven't noticed any regressions. Nice work. Just two clarifications.