Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Devrim Gunyel
core
Commits
8bec9210
Commit
8bec9210
authored
Feb 22, 2019
by
Piotr Gawron
Browse files
3 digit counter in annotation list caused missalign
parent
e2a2758e
Changes
3
Hide whitespace changes
Inline
Side-by-side
CHANGELOG
View file @
8bec9210
minerva
(
12.2.0
~
beta
.2
)
unstable
;
urgency
=
medium
*
Bug
fix
:
too
many
annotations
(>=
100
)
caused
misaligning
in
the
left
panel
(#
708
)
*
Bug
fix
:
text
was
outside
the
popup
window
(#
711
)
*
Bug
fix
:
custom
semantic
zooming
contains
multiple
overlays
checkbox
was
disabled
(#
715
)
...
...
frontend-js/src/main/css/global.css
View file @
8bec9210
...
...
@@ -546,16 +546,28 @@ Plugin tabs
overflow
:
auto
;
}
.minerva-annotation-row-odd
{
.minerva-annotation-row-odd
,
.minerva-annotation-row-even
{
height
:
26px
;
padding
:
5px
;
}
.minerva-annotation-row-odd
{
background-color
:
#EAEAEA
;
}
.minerva-annotation-row-even
{
padding
:
5px
;
background-color
:
#ffffff
;
}
.minerva-annotation-counter
{
min-width
:
28px
;
float
:
left
;
}
.minerva-annotation-body
{
float
:
left
;
}
.minerva-overview-button
{
color
:
#FFFFFF
;
height
:
36px
;
...
...
frontend-js/src/main/js/gui/leftPanel/GuiUtils.js
View file @
8bec9210
...
...
@@ -402,21 +402,22 @@ GuiUtils.prototype.createAnnotationList = function (annotations, options) {
}
else
{
var
row
=
document
.
createElement
(
"
div
"
);
row
.
style
.
height
=
"
26px
"
;
if
(
j
%
2
===
0
)
{
row
.
className
=
"
minerva-annotation-row-odd
"
;
}
else
{
row
.
className
=
"
minerva-annotation-row-even
"
;
}
var
header
=
document
.
createElement
(
"
div
"
);
header
.
style
.
width
=
"
28px
"
;
header
.
style
.
float
=
"
left
"
;
header
.
innerHTML
=
"
[
"
+
cntAnnotations
+
"
]
"
;
row
.
appendChild
(
header
);
row
.
appendChild
(
Functions
.
createElement
(
{
type
:
"
div
"
,
className
:
"
minerva-annotation-counter
"
,
content
:
"
[
"
+
cntAnnotations
+
"
]
"
})
);
var
body
=
document
.
createElement
(
"
div
"
);
body
.
style
.
float
=
"
left
"
;
var
body
=
Functions
.
createElement
({
type
:
"
div
"
,
className
:
"
minerva-annotation-body
"
});
body
.
appendChild
(
link
);
row
.
appendChild
(
body
);
groupContainer
.
appendChild
(
row
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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