Skip to content

Vertical centering of initials is not accurate #6

@AndrejGajdos

Description

@AndrejGajdos

I checked my project in simulator and real device and don't have any specific style rules for initials, which top padding is 2 pixels bigger then bottom padding.

img

img

<MaterialInitials
      style={{ alignSelf: 'center' }}
      backgroundColor="grey"
      color="white"
      size={43}
      text={nameInitials}
      single={false}
    />

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions