Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 1ca97c68

Přidáno uživatelem Lukáš Vlček před asi 2 roky(ů)

Annotator - finish button position changed

Zobrazit rozdíly:

webapp/components/annotation/AnnotationPanel.tsx
12 12
    const { mappedTags, finishAnnotation } = useContext(AnnotationContext);
13 13

  
14 14
    return (
15
        <div>
16
            <div style={{ height: '80vh', overflowY: 'auto', marginBottom: 20 }}>
15
        <div style={{ display: 'flex', height: '100%', flexDirection: 'column' }}>
16
            <div style={{ flexGrow: 1, overflowY: 'auto', marginBottom: 20 }}>
17 17
                <Stack gap={2}>
18 18
                    {mappedTags?.map((tag, index) => {
19 19
                        return <AnnotationItem key={index} tag={tag} />;
20 20
                    })}
21 21
                </Stack>
22 22
            </div>
23
            <Stack gap={2}>
24
                <Button type={'primary'} onClick={finishAnnotation}>
25
                    Dokončit
26
                </Button>
27
            </Stack>
23
            <Button type={'primary'} onClick={finishAnnotation}>
24
                Dokončit
25
            </Button>
28 26
        </div>
29 27
    );
30 28
}

Také k dispozici: Unified diff