mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-11 19:00:00 +01:00
Centered the cropped image (#705)
* Updated demo.css * Updated defaultHtmlStepUI.js * Updated defaultHtmlStepUI.js * Updated defaultHtmlStepUI.js * Updated demo.css * Updated defaultHtmlStepUi.js * Updated defaultHtmlStepUi.js * Added semi-colons in demo.css * removed the style attribute from the img element
This commit is contained in:
committed by
Jeffrey Warren
parent
30e9f359d5
commit
0be9e3f33b
@@ -249,4 +249,16 @@ h1 {
|
|||||||
a.name-header{
|
a.name-header{
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: #445;
|
color: #445;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.step-column{
|
||||||
|
display:flex;
|
||||||
|
flex-direction:row;
|
||||||
|
align-items:center;
|
||||||
|
}
|
||||||
|
.step-image{
|
||||||
|
width:100%;
|
||||||
|
display:flex;
|
||||||
|
flex-direction:column;
|
||||||
|
align-items:center;
|
||||||
|
}
|
||||||
|
|||||||
@@ -26,9 +26,9 @@ function DefaultHtmlStepUi(_sequencer, options) {
|
|||||||
step.ui =
|
step.ui =
|
||||||
'\
|
'\
|
||||||
<div class="container">\
|
<div class="container">\
|
||||||
<div class="row step">\
|
<div class="row step" style="display:flex">\
|
||||||
<form class="input-form">\
|
<form class="input-form">\
|
||||||
<div class="col-md-4 details">\
|
<div class="col-md-4 details" style="flex:1">\
|
||||||
<h3>\
|
<h3>\
|
||||||
<span class = "toggle">' +step.name + ' <i class="fa fa-caret-up toggleIcon" aria-hidden="true"></i></span>' +
|
<span class = "toggle">' +step.name + ' <i class="fa fa-caret-up toggleIcon" aria-hidden="true"></i></span>' +
|
||||||
'<span class="load-spin" style="display:none;"><i class="fa fa-circle-o-notch fa-spin"></i></span>' +
|
'<span class="load-spin" style="display:none;"><i class="fa fa-circle-o-notch fa-spin"></i></span>' +
|
||||||
@@ -37,9 +37,11 @@ function DefaultHtmlStepUi(_sequencer, options) {
|
|||||||
'</i></p></div>\
|
'</i></p></div>\
|
||||||
</div>\
|
</div>\
|
||||||
</form>\
|
</form>\
|
||||||
<div class="col-md-8 cal">\
|
<div class="col-md-8 cal step-column">\
|
||||||
<div class="load" style="display:none;"><i class="fa fa-circle-o-notch fa-spin"></i></div>\
|
<div class="load" style="display:none;"><i class="fa fa-circle-o-notch fa-spin"></i></div>\
|
||||||
<a><img alt="" style="max-width=100%" class="img-thumbnail step-thumbnail"/></a>\
|
<div class="step-image">\
|
||||||
|
<a><img alt="" class="img-thumbnail step-thumbnail"/></a>\
|
||||||
|
</div>\
|
||||||
</div>\
|
</div>\
|
||||||
</div>\
|
</div>\
|
||||||
</div>\
|
</div>\
|
||||||
|
|||||||
Reference in New Issue
Block a user