fnp
/
redakcja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b7cc868
)
Image editor fix: make sure toolbar content breaks properly for long motif and object...
author
Aleksander Łukasz
<aleksander.lukasz@nowoczesnapolska.org.pl>
Tue, 8 Jul 2014 13:49:28 +0000
(15:49 +0200)
committer
Aleksander Łukasz
<aleksander.lukasz@nowoczesnapolska.org.pl>
Tue, 8 Jul 2014 13:49:28 +0000
(15:49 +0200)
apps/wiki_img/templates/wiki_img/tabs/motifs_editor.html
patch
|
blob
|
history
redakcja/static/css/gallery.css
patch
|
blob
|
history
redakcja/static/css/master.css
patch
|
blob
|
history
redakcja/static/js/wiki_img/view_editor_motifs.js
patch
|
blob
|
history
redakcja/static/js/wiki_img/view_editor_objects.js
patch
|
blob
|
history
diff --git
a/apps/wiki_img/templates/wiki_img/tabs/motifs_editor.html
b/apps/wiki_img/templates/wiki_img/tabs/motifs_editor.html
index
c064505
..
7258888
100644
(file)
--- a/
apps/wiki_img/templates/wiki_img/tabs/motifs_editor.html
+++ b/
apps/wiki_img/templates/wiki_img/tabs/motifs_editor.html
@@
-11,7
+11,9
@@
</div>
</div>
</div>
</div>
- <div class='scrolled'>
- <img src="{{ document.image.url }}" class='area-selectable' alt="Tagged image" />
+ <div style="position:relative; height: 100%;">
+ <div class='scrolled'>
+ <img src="{{ document.image.url }}" class='area-selectable' alt="Tagged image" />
+ </div>
</div>
</div>
</div>
</div>
diff --git
a/redakcja/static/css/gallery.css
b/redakcja/static/css/gallery.css
index
fc0ed85
..
08e9318
100644
(file)
--- a/
redakcja/static/css/gallery.css
+++ b/
redakcja/static/css/gallery.css
@@
-125,3
+125,11
@@
.gallery-image img[src=''] {
background-color: red;
}
.gallery-image img[src=''] {
background-color: red;
}
+
+#motifs-editor .toolbar {
+ height: auto;
+}
+
+#objects-editor .toolbar {
+ height: auto;
+}
diff --git
a/redakcja/static/css/master.css
b/redakcja/static/css/master.css
index
a87d5a6
..
0394598
100644
(file)
--- a/
redakcja/static/css/master.css
+++ b/
redakcja/static/css/master.css
@@
-399,7
+399,7
@@
img.tabclose {
.scrolled {
position: absolute;
.scrolled {
position: absolute;
- top:
29px
;
+ top:
0
;
left: 0;
right: 0;
bottom: 0;
left: 0;
right: 0;
bottom: 0;
diff --git
a/redakcja/static/js/wiki_img/view_editor_motifs.js
b/redakcja/static/js/wiki_img/view_editor_motifs.js
index
11cbef0
..
22331c5
100644
(file)
--- a/
redakcja/static/js/wiki_img/view_editor_motifs.js
+++ b/
redakcja/static/js/wiki_img/view_editor_motifs.js
@@
-77,7
+77,7
@@
if (x1 !== null)
$e.data('coords', [x1, y1, x2, y2]);
this.$objects_list.append($e);
if (x1 !== null)
$e.data('coords', [x1, y1, x2, y2]);
this.$objects_list.append($e);
- this.$objects_list.append('<span class="delete">(x)</span>');
+ this.$objects_list.append('<span class="delete">(x)
</span>');
}
}
diff --git
a/redakcja/static/js/wiki_img/view_editor_objects.js
b/redakcja/static/js/wiki_img/view_editor_objects.js
index
5cf014f
..
bd0af09
100644
(file)
--- a/
redakcja/static/js/wiki_img/view_editor_objects.js
+++ b/
redakcja/static/js/wiki_img/view_editor_objects.js
@@
-68,7
+68,7
@@
if (x1 !== null)
$e.data('coords', [x1, y1, x2, y2]);
this.$objects_list.append($e);
if (x1 !== null)
$e.data('coords', [x1, y1, x2, y2]);
this.$objects_list.append($e);
- this.$objects_list.append('<span class="delete">(x)</span>');
+ this.$objects_list.append('<span class="delete">(x)
</span>');
}
}