File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
app/src/organisms/LabwarePositionCheck Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change 1
1
import * as React from 'react'
2
- import styled from 'styled-components'
2
+ import styled , { css } from 'styled-components'
3
3
import { useSelector } from 'react-redux'
4
4
import isEqual from 'lodash/isEqual'
5
5
import { useTranslation } from 'react-i18next'
@@ -25,6 +25,7 @@ import {
25
25
JUSTIFY_SPACE_BETWEEN ,
26
26
LocationIcon ,
27
27
MODULE_ICON_NAME_BY_TYPE ,
28
+ OVERFLOW_AUTO ,
28
29
PrimaryButton ,
29
30
RESPONSIVENESS ,
30
31
SPACING ,
@@ -155,7 +156,17 @@ export const ResultsSummary = (
155
156
< Flex
156
157
flexDirection = { DIRECTION_COLUMN }
157
158
maxHeight = "20rem"
158
- overflowY = "scroll"
159
+ css = { css `
160
+ overflow-y: ${ OVERFLOW_AUTO } ;
161
+ &::-webkit-scrollbar {
162
+ width: 0.75rem;
163
+ background-color: transparent;
164
+ }
165
+ &::-webkit-scrollbar-thumb {
166
+ background: ${ COLORS . grey50 } ;
167
+ border-radius: 11px;
168
+ }
169
+ ` }
159
170
>
160
171
< Header > { t ( 'new_labware_offset_data' ) } </ Header >
161
172
{ isLabwareOffsetCodeSnippetsOn ? (
You can’t perform that action at this time.
0 commit comments