2866 - Limit descriptor photo size to width 100%
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
21de6a0f7c
commit
b4cceff4cb
|
@ -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