diff --git a/front/salix/components/descriptor-popover/style.scss b/front/salix/components/descriptor-popover/style.scss index 3fc35a0af..6ae8675bf 100644 --- a/front/salix/components/descriptor-popover/style.scss +++ b/front/salix/components/descriptor-popover/style.scss @@ -2,7 +2,7 @@ .vn-descriptor-popover { vn-descriptor-content > .descriptor { - width: 260px; + width: 256px; & > .header > a:first-child { visibility: hidden; diff --git a/front/salix/components/descriptor/style.scss b/front/salix/components/descriptor/style.scss index f51137620..d15c60938 100644 --- a/front/salix/components/descriptor/style.scss +++ b/front/salix/components/descriptor/style.scss @@ -11,7 +11,7 @@ vn-descriptor-content { & > img[ng-src] { min-height: 16em; display: block; - width: 256px; + max-width: 100%; height: 256px; } diff --git a/modules/item/front/descriptor/index.js b/modules/item/front/descriptor/index.js index 195a97d13..bdf95fb61 100644 --- a/modules/item/front/descriptor/index.js +++ b/modules/item/front/descriptor/index.js @@ -1,6 +1,5 @@ import ngModule from '../module'; import Descriptor from 'salix/components/descriptor'; -import './style.scss'; class Controller extends Descriptor { constructor($element, $, $rootScope) { diff --git a/modules/item/front/descriptor/style.scss b/modules/item/front/descriptor/style.scss deleted file mode 100644 index e15fbae96..000000000 --- a/modules/item/front/descriptor/style.scss +++ /dev/null @@ -1,9 +0,0 @@ - -vn-item-descriptor { - img[ng-src] { - min-height: 16em; - height: 100%; - width: 100%; - display: block; - } -} \ No newline at end of file