Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(app): fix scrollbar style on LPC results table on ODD #15164

Merged
merged 1 commit into from
May 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions app/src/organisms/LabwarePositionCheck/ResultsSummary.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from 'react'
import styled from 'styled-components'
import styled, { css } from 'styled-components'
import { useSelector } from 'react-redux'
import isEqual from 'lodash/isEqual'
import { useTranslation } from 'react-i18next'
Expand All @@ -25,6 +25,7 @@ import {
JUSTIFY_SPACE_BETWEEN,
LocationIcon,
MODULE_ICON_NAME_BY_TYPE,
OVERFLOW_AUTO,
PrimaryButton,
RESPONSIVENESS,
SPACING,
Expand Down Expand Up @@ -155,7 +156,17 @@ export const ResultsSummary = (
<Flex
flexDirection={DIRECTION_COLUMN}
maxHeight="20rem"
overflowY="scroll"
css={css`
overflow-y: ${OVERFLOW_AUTO};
&::-webkit-scrollbar {
width: 0.75rem;
background-color: transparent;
}
&::-webkit-scrollbar-thumb {
background: ${COLORS.grey50};
border-radius: 11px;
}
`}
>
<Header>{t('new_labware_offset_data')}</Header>
{isLabwareOffsetCodeSnippetsOn ? (
Expand Down
Loading