Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Mirador Video
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
IIIF
Mirador
Mirador Video
Merge requests
!21
Fixing error
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Fixing error
fix-error-div-into-p
into
mui5-annotation-on-video-stable
Overview
0
Commits
1
Pipelines
1
Changes
1
Open
Antoine Roy
requested to merge
fix-error-div-into-p
into
mui5-annotation-on-video-stable
1 year ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
0
0
Merge request reports
Compare
mui5-annotation-on-video-stable
version 3
39561392
1 year ago
version 2
39561392
1 year ago
version 1
39561392
1 year ago
mui5-annotation-on-video-stable (HEAD)
and
latest version
latest version
39561392
1 commit,
1 year ago
version 3
39561392
1 commit,
1 year ago
version 2
39561392
1 commit,
1 year ago
version 1
39561392
468 commits,
1 year ago
1 file
+
9
−
26
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/components/CanvasAnnotations.js
+
9
−
26
Options
@@ -166,34 +166,17 @@ export class CanvasAnnotations extends Component {
onMouseEnter
=
{()
=>
this
.
handleAnnotationHover
(
annotation
)}
onMouseLeave
=
{
this
.
handleAnnotationBlur
}
>
<
ListItemText
primaryTypographyProps
=
{{
variant
:
'
body2
'
}}
>
<
SanitizedHtml
ruleSet
=
{
htmlSanitizationRuleSet
}
htmlString
=
{
annotation
.
content
}
/
>
<
div
>
{
annotation
.
tags
.
map
(
tag
=>
(
<
Chip
size
=
"
small
"
variant
=
"
outlined
"
label
=
{
tag
}
id
=
{
tag
}
sx
=
{
theme
=>
({
backgroundColor
:
theme
.
palette
.
background
.
paper
,
marginRight
:
theme
.
spacing
(
0.5
),
marginTop
:
theme
.
spacing
(
1
),
})}
key
=
{
tag
.
toString
()}
/
>
<
ListItemText
primaryTypographyProps
=
{{
variant
:
'
body2
'
}}
primary
=
{
<
SanitizedHtml
ruleSet
=
{
htmlSanitizationRuleSet
}
htmlString
=
{
annotation
.
content
}
/
>
}
secondary
=
{
annotation
.
tags
.
map
((
tag
)
=>
(
<
Chip
component
=
"
span
"
size
=
"
small
"
variant
=
"
outlined
"
label
=
{
tag
}
id
=
{
tag
}
key
=
{
tag
.
toString
()}
/
>
))
}
<
AnnotationManifestsAccordion
annotation
=
{
annotation
}
t
=
{
t
}
/
>
<
/div
>
<
/ListItemText
>
/
>
<
/MenuItem
>
<
/ScrollTo
>
))
Loading