react-timeline icon indicating copy to clipboard operation
react-timeline copied to clipboard

On custom card wrong media-queries

Open denvash opened this issue 4 years ago • 0 comments

On providing a custom card, 768px is a "Golden Number" which may brake the component, in this case, the user should control the query and the default one need to be disabled.

localhost_8000_ (9)

Possible user's fix example:

const EventDetails = styled.div`
  ${mixins.boxShadowSmall}
  background-color: ${colors.backgroundDark};
  padding: 15px;
  @media (max-width: 768px) {
    display: none;
  }
`;

The user may not catch the bug on smaller devices, therefore, it is not expected behavior.

denvash avatar Oct 28 '19 14:10 denvash