change(ui) - xray line alignment
This commit is contained in:
parent
c33279c141
commit
4dfebf92e1
3 changed files with 4 additions and 4 deletions
|
|
@ -86,7 +86,7 @@ function OverviewPanel(props: Props) {
|
|||
<BottomBlock.Content>
|
||||
<OverviewPanelContainer endTime={props.endTime}>
|
||||
<TimelineScale endTime={props.endTime} />
|
||||
<div style={{ width: '100%', height: '187px', overflow: 'hidden' }} className="transition relative">
|
||||
<div style={{ width: 'calc(100vw - 1rem)', margin: '0 auto', height: '187px' }} className="transition relative">
|
||||
<NoContent
|
||||
show={selectedFeatures.length === 0}
|
||||
title={
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ const EventRow = React.memo((props: Props) => {
|
|||
<div
|
||||
className={cn(
|
||||
'uppercase color-gray-medium text-sm flex items-center py-1',
|
||||
props.noMargin ? '' : 'ml-4'
|
||||
props.noMargin ? '' : 'ml-2'
|
||||
)}
|
||||
>
|
||||
<div
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@ import { connectPlayer } from 'Player';
|
|||
import VerticalLine from '../VerticalLine';
|
||||
|
||||
interface Props {
|
||||
time: number;
|
||||
scale: number;
|
||||
time?: number;
|
||||
scale?: number;
|
||||
}
|
||||
function VerticalPointerLine(props: Props) {
|
||||
const { time, scale } = props;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue