Lunie: Identicons in table validators doing weird things when the screen shrinks

Created on 6 Dec 2019  路  2Comments  路  Source: luniehq/lunie

Describe the bug

Whenever you reduce below a certain level the screen width in table validators some the identicons shrink in particular ways. Especially the ones with long validators names.
Also each one of these 'different' identicons shrinks differently, quicklier or less quickly.

To Reproduce





You can try. It might be something just happening in Brave?

Expected behavior

All identicons should shrink the same way, and no area around them should be displayed.

Screenshots

image

Desktop (please complete the following information):

  • OS: Ubuntu 18.04
  • Browser: Brave
  • Version: Version 1.0.1 Chromium: 78.0.3904.108 (Official Build) (64-bit)

Smartphone (please complete the following information):

  • Device:
  • OS:
  • Browser
  • Version

Additional context

bug

All 2 comments

Hey @Bitcoinera! This is caused by the long addresses of that rows.

Adding min-height: 2.5rem and min-width: 2.5rem to li-validator-image class fix that behaviour though.

We can also add word-break: break-all; to li-validator-name class to be safe against very long names that could break the layout.

What do you think @jbibla ?

Adding min-height: 2.5rem and min-width: 2.5rem to li-validator-image class fix that behaviour though.

yep, this should work!

i would also add this to the validator name:

  max-width: xxx;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
Was this page helpful?
0 / 5 - 0 ratings

Related issues

cwgoes picture cwgoes  路  4Comments

faboweb picture faboweb  路  3Comments

faboweb picture faboweb  路  3Comments

okwme picture okwme  路  3Comments

fedekunze picture fedekunze  路  3Comments