Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-140313

Shop By Diagram - Apply fixed height to Upload Image's button

    Details

    • Fix Priority:
      4

      Description

      Hello you all, we have an open bug (COMMERCE-7220) about fixing a layout of the Shop-By-Diagram's Diagram page.

       

      Visible under:

      • Commerce > Products
      • Create a new product (type diagram)
      • Upload a new image, set Diagram Settings as type default

       NB. enable Diagram Product Type under
      System > System Settings > Catalog > Diagram Product Type > enable

      Actually the page is displayed in this way:

       

       

      We should set a fixed height of Diagram Settings and Diagram File sections.

      The issue is that it's not possible to set properly a predefined height to the Diagram File component without applying several styles changes to che component itself, otherwise there isn't a way to apply from outside a fixed height to the component via component props without making the thumbnail image overflow the fixed container.

       

      This is the expected result:

       

       

      In Diagram File we should have a fixed height and the thumbnail image displayed in it should be contaned and centered-cropped inside the component.

        Attachments

        1. Actual2.png
          Actual2.png
          142 kB
        2. Expected2.png
          Expected2.png
          7.10 MB

          Issue Links

            Activity

              People

              Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              giulio.garofalo Giulio Garofalo
              Participants of an Issue:
              Recent user:
              Giulio Garofalo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Days since last comment:
                6 weeks, 2 days ago

                  Packages

                  Version Package