fix small defects
This commit is contained in:
parent
11e58e70f6
commit
9a8bede80e
@ -93,7 +93,7 @@ const ViewportActionBar = ({ studyData, onSeriesChange }) => {
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex">
|
<div className="flex">
|
||||||
<p className="text-base truncate max-w-sm text-primary-light">
|
<p className="text-base truncate max-w-72 text-primary-light">
|
||||||
{seriesDescription}
|
{seriesDescription}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -9,7 +9,7 @@ const ViewportGrid = ({ rows, cols, viewportContents }) => {
|
|||||||
<div
|
<div
|
||||||
key={index}
|
key={index}
|
||||||
className={classnames(
|
className={classnames(
|
||||||
'rounded-lg hover:border-primary-light transition duration-300 outline-none',
|
'rounded-lg hover:border-primary-light transition duration-300 outline-none overflow-hidden',
|
||||||
{
|
{
|
||||||
'border-2 border-primary-light -m-px': isActive,
|
'border-2 border-primary-light -m-px': isActive,
|
||||||
'border border-secondary-light': !isActive,
|
'border border-secondary-light': !isActive,
|
||||||
|
|||||||
@ -179,7 +179,7 @@ module.exports = {
|
|||||||
'112': '28rem',
|
'112': '28rem',
|
||||||
'250px': '250px',
|
'250px': '250px',
|
||||||
},
|
},
|
||||||
backgroundColor: (theme) => theme('colors'),
|
backgroundColor: theme => theme('colors'),
|
||||||
backgroundPosition: {
|
backgroundPosition: {
|
||||||
bottom: 'bottom',
|
bottom: 'bottom',
|
||||||
center: 'center',
|
center: 'center',
|
||||||
@ -196,7 +196,7 @@ module.exports = {
|
|||||||
cover: 'cover',
|
cover: 'cover',
|
||||||
contain: 'contain',
|
contain: 'contain',
|
||||||
},
|
},
|
||||||
borderColor: (theme) => ({
|
borderColor: theme => ({
|
||||||
...theme('colors'),
|
...theme('colors'),
|
||||||
default: theme('colors.gray.300', 'currentColor'),
|
default: theme('colors.gray.300', 'currentColor'),
|
||||||
}),
|
}),
|
||||||
@ -310,7 +310,7 @@ module.exports = {
|
|||||||
extrabold: '800',
|
extrabold: '800',
|
||||||
black: '900',
|
black: '900',
|
||||||
},
|
},
|
||||||
height: (theme) => ({
|
height: theme => ({
|
||||||
auto: 'auto',
|
auto: 'auto',
|
||||||
...theme('spacing'),
|
...theme('spacing'),
|
||||||
full: '100%',
|
full: '100%',
|
||||||
@ -355,7 +355,7 @@ module.exports = {
|
|||||||
...theme('spacing'),
|
...theme('spacing'),
|
||||||
...negative(theme('spacing')),
|
...negative(theme('spacing')),
|
||||||
}),
|
}),
|
||||||
maxHeight: (theme) => ({
|
maxHeight: theme => ({
|
||||||
full: '100%',
|
full: '100%',
|
||||||
screen: '100vh',
|
screen: '100vh',
|
||||||
...theme('spacing'),
|
...theme('spacing'),
|
||||||
@ -374,14 +374,15 @@ module.exports = {
|
|||||||
'6xl': '72rem',
|
'6xl': '72rem',
|
||||||
full: '100%',
|
full: '100%',
|
||||||
...breakpoints(theme('screens')),
|
...breakpoints(theme('screens')),
|
||||||
|
...theme('spacing'),
|
||||||
}),
|
}),
|
||||||
minHeight: (theme) => ({
|
minHeight: theme => ({
|
||||||
...theme('spacing'),
|
...theme('spacing'),
|
||||||
'0': '0',
|
'0': '0',
|
||||||
full: '100%',
|
full: '100%',
|
||||||
screen: '100vh',
|
screen: '100vh',
|
||||||
}),
|
}),
|
||||||
minWidth: (theme) => ({
|
minWidth: theme => ({
|
||||||
...theme('spacing'),
|
...theme('spacing'),
|
||||||
'0': '0',
|
'0': '0',
|
||||||
xs: '2rem',
|
xs: '2rem',
|
||||||
@ -442,9 +443,9 @@ module.exports = {
|
|||||||
'11': '11',
|
'11': '11',
|
||||||
'12': '12',
|
'12': '12',
|
||||||
},
|
},
|
||||||
padding: (theme) => theme('spacing'),
|
padding: theme => theme('spacing'),
|
||||||
placeholderColor: (theme) => theme('colors'),
|
placeholderColor: theme => theme('colors'),
|
||||||
stroke: (theme) => ({
|
stroke: theme => ({
|
||||||
...theme('colors'),
|
...theme('colors'),
|
||||||
current: 'currentColor',
|
current: 'currentColor',
|
||||||
}),
|
}),
|
||||||
@ -453,8 +454,8 @@ module.exports = {
|
|||||||
'1': '1',
|
'1': '1',
|
||||||
'2': '2',
|
'2': '2',
|
||||||
},
|
},
|
||||||
textColor: (theme) => theme('colors'),
|
textColor: theme => theme('colors'),
|
||||||
width: (theme) => ({
|
width: theme => ({
|
||||||
auto: 'auto',
|
auto: 'auto',
|
||||||
...theme('spacing'),
|
...theme('spacing'),
|
||||||
'1/2': '50%',
|
'1/2': '50%',
|
||||||
@ -519,7 +520,7 @@ module.exports = {
|
|||||||
'40': '40',
|
'40': '40',
|
||||||
'50': '50',
|
'50': '50',
|
||||||
},
|
},
|
||||||
gap: (theme) => theme('spacing'),
|
gap: theme => theme('spacing'),
|
||||||
gridTemplateColumns: {
|
gridTemplateColumns: {
|
||||||
none: 'none',
|
none: 'none',
|
||||||
'1': 'repeat(1, minmax(0, 1fr))',
|
'1': 'repeat(1, minmax(0, 1fr))',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user