Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
subugoe
emo
TIDO
Commits
dbfaf94a
Commit
dbfaf94a
authored
Aug 09, 2021
by
Nils Windisch
Browse files
refactor: appearance of annotation references tooltip
parent
9c26edd1
Pipeline
#219208
passed with stages
in 4 minutes and 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/components/annotations/annotations.vue
View file @
dbfaf94a
...
...
@@ -352,12 +352,12 @@ export default {
let
annotationLists
=
''
;
annotationClasses
.
forEach
((
annotationList
)
=>
{
annotationLists
+=
`<
li
>
annotationLists
+=
`<
div class="referenced-annotation"
>
${
this
.
createSVG
(
this
.
getIconName
(
annotationList
.
contentType
)).
outerHTML
}
<span>
${
annotationList
.
value
}
</span>
</
li
>`
;
</
div
>`
;
});
const
text
=
`<span class="text-body1">
...
...
@@ -516,20 +516,19 @@ export default {
-webkit-touch-callout
:
none
;
}
.
text-body2
{
l
is
t-style-type
:
none
;
padding
:
8
px
;
.
referenced-annotation
{
d
is
play
:
block
;
margin-bottom
:
4
px
;
}
.text-body2
>
li
{
margin
:
none
;
text-indent
:
-4px
;
.referenced-annotation
:first-of-type
{
padding-top
:
4px
;
}
.
text-body2
>
li
:
:
before
{
content
:
'-'
;
text-indent
:
-4px
;
.referenced-annotation
:last-of-type
{
margin-bottom
:
0
;
}
</
style
>
<
style
lang=
"scss"
scoped
>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment