Uploaded image for project: 'Nuxeo Elements'
  1. Nuxeo Elements
  2. ELEMENTS-1570

Allow nuxeo-data-table-column width below 169px

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.69, 3.0.16
    • Fix Version/s: 2.4.71, 3.1.x, 3.0.20
    • Component/s: UI
    • Release Notes Summary:
      nuxeo-data-table-column takes into account the width attribute.
    • Backlog priority:
      750
    • Sprint:
      UI - 2023-01, UI - 2023-2, UI COOLDOWN - 2023-01

      Description

      Fix for ELEMENTS-1513 set min-width of nuxeo-data-table-cell to 169px/174px in LTS 2021/10.10 respectively, but this prevents nuxeo-data-table-column width from being set below this minimum.

      Steps to reproduce:

      1. In a nuxeo-data-table element of a layout (e.g. search results layout), set a nuxeo-data-table-column's flex to 0 and width to a value below 169px, for example:
        <nuxeo-data-table-column name="testCol" field="dc:title" flex="0" width="10px">
        

      Expected result: column width is displayed using value set for width.

      Actual result: column width is displayed using the minimum of 169px/174px.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: