File tree Expand file tree Collapse file tree
web/client/themes/default/less Expand file tree Collapse file tree Original file line number Diff line number Diff line change 302302 }
303303}
304304
305+
305306.feature-grid-container {
306- .ms2-border-layout-body {
307- .react-grid-HeaderRow {
308- .react-grid-HeaderCell {
309- .rw-datetimepicker.rw-widget input {
310- .input-size (@input-height-small ; @padding-small-vertical ; @padding-small-horizontal ; @font-size-small ; @line-height-small ; @input-border-radius-small );
311- }
312- .rw-datetimepicker.rw-widget input :disabled {
313- height :100% ;
314- }
315- }
316- }
317- }
307+ .ms2-border-layout-body {
308+ & :has(.react-grid-Empty ) {
309+ .ms2-border-layout-content {
310+ overflow-x : auto !important ;
311+ }
312+ .react-grid-HeaderRow {
313+ min-width : max-content ;
314+ }
315+ .react-grid-Viewport {
316+ min-width : max-content ;
317+ }
318+ // Make the grid scrollable horizontally when there are many columns
319+ .react-grid-Grid {
320+ min-width : max-content ;
321+ overflow-x : auto !important ;
322+ }
323+ }
324+ .react-grid-HeaderRow {
325+ .react-grid-HeaderCell {
326+ .rw-datetimepicker.rw-widget input {
327+ .input-size (@input-height-small ; @padding-small-vertical ; @padding-small-horizontal ; @font-size-small ; @line-height-small ; @input-border-radius-small );
328+ }
329+ .rw-datetimepicker.rw-widget input :disabled {
330+ height :100% ;
331+ }
332+ }
333+ }
334+
335+ // Ensure the empty state respects the grid width for scrolling
336+ .react-grid-Empty {
337+ min-width : inherit ;
338+ width : 100% ;
339+ }
340+ }
318341}
319342#page-rulesmanager {
320343 .ms2-border-layout-body {
You can’t perform that action at this time.
0 commit comments