Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C covid19india-react
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 27
    • Issues 27
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 11
    • Merge requests 11
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • covid19india
  • covid19india-react
  • Issues
  • #2210
Closed
Open
Issue created Jul 04, 2020 by Administrator@rootContributor

Top district text overflow

Created by: balrajsingh9

Describe the bug The top district text in the state details overflows/overlaps with the next district text right below it when the text has more than 3 words. And it looks confusing and is attached to the next district text when the length of the text is 3.

To Reproduce

  1. Click on Meghalaya (I'm sure valid for other states as well, but observed here) in the table.
  2. Then click on See more details on ML.
  3. Scroll down to Top Districts

Expected behavior The text should be clearly visible with no overflow or overlaps and should have an appropriate margin between two district names.

Screenshots

  1. When length > 3
Screenshot 2020-07-05 at 12 31 41 AM
  1. When length == 3 (Edited in dev tools for an example)
Screenshot 2020-07-05 at 12 35 20 AM

Desktop:

  • OS: macOS Catalina
  • Browser: Chrome Canary
  • Version: 86

Mobile:

  • OS: Android 10
  • Browser: Chrome
  • Version: 83

Additional context The problem seems to be the flex: 0 1 property on the h5 el. If we remove it, it renders just fine (see below screenshot).

Screenshot 2020-07-05 at 12 45 59 AM
Assignee
Assign to
Time tracking