Merge pull request '2866 - Limit descriptor photo size to width 100%' (#592) from 2866-descriptor_photo into dev
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
Reviewed-on: #592 Reviewed-by: Carlos Jimenez Ruiz <carlosjr@verdnatura.es>
This commit is contained in:
commit
be1400ef51
|
@ -2,7 +2,7 @@
|
|||
|
||||
.vn-descriptor-popover {
|
||||
vn-descriptor-content > .descriptor {
|
||||
width: 260px;
|
||||
width: 256px;
|
||||
|
||||
& > .header > a:first-child {
|
||||
visibility: hidden;
|
||||
|
|
|
@ -11,7 +11,7 @@ vn-descriptor-content {
|
|||
& > img[ng-src] {
|
||||
min-height: 16em;
|
||||
display: block;
|
||||
width: 256px;
|
||||
max-width: 100%;
|
||||
height: 256px;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
import ngModule from '../module';
|
||||
import Descriptor from 'salix/components/descriptor';
|
||||
import './style.scss';
|
||||
|
||||
class Controller extends Descriptor {
|
||||
constructor($element, $, $rootScope) {
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
|
||||
vn-item-descriptor {
|
||||
img[ng-src] {
|
||||
min-height: 16em;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
display: block;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue