From eab3703d7bea3a4b188a0d8baf31c3b504bbfa4e Mon Sep 17 00:00:00 2001 From: Daniel Richards Date: Wed, 19 Sep 2018 11:20:42 +0100 Subject: [PATCH] Move overflow rule to theme.scss --- packages/block-library/src/table/style.scss | 2 -- packages/block-library/src/table/theme.scss | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/block-library/src/table/style.scss b/packages/block-library/src/table/style.scss index 74be3aa57e4ec..ea289a7a99e6b 100644 --- a/packages/block-library/src/table/style.scss +++ b/packages/block-library/src/table/style.scss @@ -1,6 +1,4 @@ .wp-block-table { - overflow-x: auto; - &.has-fixed-layout table { table-layout: fixed; width: 100%; diff --git a/packages/block-library/src/table/theme.scss b/packages/block-library/src/table/theme.scss index 5791099349796..f18accc49edeb 100644 --- a/packages/block-library/src/table/theme.scss +++ b/packages/block-library/src/table/theme.scss @@ -1,4 +1,6 @@ .wp-block-table { + overflow-x: auto; + table { width: 100%; min-width: $break-mobile / 2;