Commit da255400 authored by santiaago's avatar santiaago
Browse files

image in editor in not cropped if style is changed to img-circle.

It is also now properly centered if class changed.
Fixes #64
parent 8cbd6d09
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -80,3 +80,7 @@
.editor-themePalette--noPadding{
    padding: 0;
}

.editor-image--center{
    display: inline-block;
}
 No newline at end of file
+1 −1
Original line number Diff line number Diff line
@@ -73,7 +73,7 @@
  </div>
  <div class="col-md-3 editor--square editor-square--borderRight editor--backgroundWhite">
    <div class="editor-content--positionCenter">
      <img class="featurette-image img-responsive img-thumbnail" src="/{{editorShape}}/{{editorName}}?theme={{editorTheme}}&numcolors={{editorColorNumber}}">
      <img class="editor-image--center featurette-image img-responsive img-thumbnail" src="/{{editorShape}}/{{editorName}}?theme={{editorTheme}}&numcolors={{editorColorNumber}}&size=220">
      <p>name: {{editorName}}</p>
      <p>theme: {{editorTheme}}</p>
      <p>color number: {{editorColorNumber}}</p>