AnsweredAssumed Answered

Disable Expand widget responsive

Question asked by gregb_mcpao on Oct 9, 2020
Latest reply on Oct 14, 2020 by gregb_mcpao

My expand widget height gets too big and looks really bad in responsive mode. For example, when I add a print widget to the expander and the browser width is resized the expanded content increases the height and snaps to the edge of the browser. This makes it difficult to see and even use the print export controls. I am looking for a way to keep the size of the expanded content equal size in either desktop or mobile. Is there CSS I can add to override this? Thanks!


        var printExpand = new Expand({
          content: new Print({
            view: view,
            printServiceUrl: printServiceUrl
          view: view,
          autoCollapse: true,
          expanded: false,
          expandTooltip: 'Print Map',
          group: "top-right"

The expanded content here has good dimensions when not in responsive mode


Responsive mode