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

Reviewed-on: #592
Reviewed-by: Carlos Jimenez Ruiz <carlosjr@verdnatura.es>
This commit is contained in:
Carlos Jimenez Ruiz 2021-04-01 14:55:17 +00:00
commit be1400ef51
4 changed files with 2 additions and 12 deletions

View File

@ -2,7 +2,7 @@
.vn-descriptor-popover {
vn-descriptor-content > .descriptor {
width: 260px;
width: 256px;
& > .header > a:first-child {
visibility: hidden;

View File

@ -11,7 +11,7 @@ vn-descriptor-content {
& > img[ng-src] {
min-height: 16em;
display: block;
width: 256px;
max-width: 100%;
height: 256px;
}

View File

@ -1,6 +1,5 @@
import ngModule from '../module';
import Descriptor from 'salix/components/descriptor';
import './style.scss';
class Controller extends Descriptor {
constructor($element, $, $rootScope) {

View File

@ -1,9 +0,0 @@
vn-item-descriptor {
img[ng-src] {
min-height: 16em;
height: 100%;
width: 100%;
display: block;
}
}