mirror of
https://github.com/atlanticbiomedical/website.git
synced 2025-07-01 18:07:27 -04:00
Have thumbor display the post.img, center it.
This commit is contained in:
@ -1,12 +1,12 @@
|
||||
<div class="row">
|
||||
<div class="small-8 small-centered columns">
|
||||
<div class="title"><h1>{{post.title}}</h1></div>
|
||||
<img ng-show="post.image" ng-src="/images/{{post.image}}"><hr>
|
||||
<img class="mainimg" ng-show="post.image" ng-src="http://atlanticbiomedical.com:8001/unsafe/fit-in/500x500/smart/{{post.image}}"><hr>
|
||||
<div ng-hide="post.details" class="preview"><p>{{post.preview}}</p></div>
|
||||
<div class="details"><p>{{post.details}}</p></div>
|
||||
<ul class="clearing-thumbs small-block-grid-4" data-clearing>
|
||||
<li ng-repeat="image in gallery track by $index">
|
||||
<a href="http://wootroot.me:8001/unsafe/{{image}}"><img ng-src="http://wootroot.me:8001/unsafe/200x200/smart/{{image}}"></a>
|
||||
<a href="http://atlanticbiomedical.com:8001/unsafe/{{image}}"><img ng-src="http://atlanticbiomedical.com:8001/unsafe/200x200/smart/{{image}}"></a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
@ -14,6 +14,11 @@
|
||||
display: table;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.mainimg {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
.top-bar {
|
||||
height: 50px;
|
||||
}
|
||||
|
Reference in New Issue
Block a user