How to increase "preview" image in "Publication" #1577
-
Current BehaviorThis is an extension of this issue (#1552). Currently, the preview image looks like this, Expected ResultI want to make the "preview" image large so that it may be something like this, Previous AttemptI tried to change the
|
Beta Was this translation helpful? Give feedback.
Replies: 7 comments
-
cc: @alshedivat |
Beta Was this translation helpful? Give feedback.
-
Try changing the column size in the // other codes
<div class="col-sm-3 {% if entry.preview %}preview{% else %}abbr{% endif %}">
// other codes
<div id="{{entry.key}}" class="col-sm-8">
// other codes |
Beta Was this translation helpful? Give feedback.
-
@TheFermi0n is the Currently, the total sum is |
Beta Was this translation helpful? Give feedback.
-
I think after increasing columns somehow it isn't affecting the preview image size <div class="row">
......
<img data-zoomable class="preview z-depth-1 rounded" src="{{ entry.preview }}" width="500"> |
Beta Was this translation helpful? Give feedback.
-
Yes that is the second column. For al-folio it is 10, yes. So if you change your first column to 3 then you still have 1 unit left so no worries with the second column. Additionally, for the misalignment what you can do is play with the .preview {
width: 100%;
min-width: 80px;
max-width: 200px;
} specifically increasing the max-width might fix the misalignment. |
Beta Was this translation helpful? Give feedback.
-
It worked thanks @TheFermi0n :D |
Beta Was this translation helpful? Give feedback.
Yes that is the second column. For al-folio it is 10, yes. So if you change your first column to 3 then you still have 1 unit left so no worries with the second column.
Additionally, for the misalignment what you can do is play with the
_sass/base.scss
file and change this part accordinglyspecifically increasing the max-width might fix the misalignment.