diff --git a/ui/app/styles/core/table.scss b/ui/app/styles/core/table.scss index 2e2f1d673..174b0d172 100644 --- a/ui/app/styles/core/table.scss +++ b/ui/app/styles/core/table.scss @@ -7,6 +7,11 @@ border-collapse: separate; width: 100%; + @media #{$mq-table-overflow} { + display: block; + overflow-x: auto; + } + &.is-fixed { table-layout: fixed; diff --git a/ui/app/styles/core/variables.scss b/ui/app/styles/core/variables.scss index deb853173..b5a134e32 100644 --- a/ui/app/styles/core/variables.scss +++ b/ui/app/styles/core/variables.scss @@ -46,6 +46,7 @@ $breadcrumb-item-active-color: $white; $breadcrumb-item-separator-color: $primary; $mq-hidden-gutter: 'only screen and (max-width : 960px)'; +$mq-table-overflow: 'only screen and (max-width : 1100px)'; $timing-fast: 150ms; $timing-medium: 300ms; diff --git a/ui/app/templates/csi/volumes/index.hbs b/ui/app/templates/csi/volumes/index.hbs index f060825f7..535fea7c9 100644 --- a/ui/app/templates/csi/volumes/index.hbs +++ b/ui/app/templates/csi/volumes/index.hbs @@ -77,13 +77,15 @@ action=(action "gotoVolume" row.model) }} > - - {{row.model.name}} - + + + {{row.model.name}} + + {{#if this.system.shouldShowNamespaces}}