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

Migrate aspectRatioCssClasses usages to use new flush API in clay:vertical-card

    Details

      Description

      Some uses of the tags are implementing the method `getAspectRatioCssClasses` (which it should be deprecated) to handle the card image aspect ratios in `<clay:vertical-card>`.

      We found a bug related with this and we already addressed it https://github.com/liferay/clay/pull/3815/files so when we finish the rest of the migration and a new Clay release is cut we can go with this task.

       

      The fix should be simple:

      • Search in portal java files for `getAspectRatioCssClasses`
      • Remove that method implementation
      • Add a new method in those models "isFlushHorizontal" that returns true

        Attachments

          Activity

            People

            Assignee:
            team-frontend-infra Product Team Frontend Infrastructure
            Reporter:
            carlos.lancha Carlos Lancha
            Engineering Assignee:
            Julien Castelain
            Recent user:
            Tomáš Polešovský
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                Master