Monica: Dashboard avatars of inconsistant size and shape

Created on 13 Nov 2018  路  3Comments  路  Source: monicahq/monica

Image avatars show up as an inconsistent size, depending on how many images v.s. initials are in the list of last consulted.

A list heavy with images looks ALMOST normal

A list with only 4 images is barely useful

A list containing only 3 reduces the images to useless slivers.

Note I am using the hosted version on https://app.monicahq.com

Thanks for listening!

bug

All 3 comments

not knowing the stack very well, I did some monkeying in dev tools before digging into the code.
I moved 'Last Consulted' to before the flex container and added the following css rules:
.mw9 .flex.items-center { flex-wrap: wrap; }
.mw9 .pr2 { float: left; }

The result isn't perfect but looks passable at multiple sizes

I didn't see any break point references in the css, and I'm not sure how you all are handling reflow, but I took a quick stab at further cleanup, were there a breakpoint to work with:
.mw9 .pr2 { padding:0.25rem; }
.mw9 .w-70 { display: flex;
flex-direction: column;
width: 100%;
padding: 0.5rem; }

Indeed. These look terrible. This will be completely fixed by https://github.com/monicahq/monica/pull/2112

Really sorry about this.

It looks like this was fixed by #2374. Can it be closed? Or are you waiting on #2112?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Svarto picture Svarto  路  3Comments

badry-abderrahmane picture badry-abderrahmane  路  3Comments

asbiin picture asbiin  路  4Comments

cynddl picture cynddl  路  3Comments

vesper8 picture vesper8  路  4Comments