Commit 47de9134 authored by Kevin Paxman's avatar Kevin Paxman
Browse files

See what patching core might look like

parent 4111902e
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
"require": { "require": {
"commerceguys/addressing": "1.0.8", "commerceguys/addressing": "1.0.8",
"composer/installers": "^1.7", "composer/installers": "^1.7",
"cweagans/composer-patches": "^1.7",
"drupal/address": "1.8", "drupal/address": "1.8",
"drupal/admin_toolbar": "2.4", "drupal/admin_toolbar": "2.4",
"drupal/allowed_formats": "1.3", "drupal/allowed_formats": "1.3",
...@@ -74,7 +75,6 @@ ...@@ -74,7 +75,6 @@
"drupal/jquery_ui_datepicker": "1.0", "drupal/jquery_ui_datepicker": "1.0",
"drupal/jquery_ui_slider": "1.1", "drupal/jquery_ui_slider": "1.1",
"drupal/jquery_ui_touch_punch": "1.0.0", "drupal/jquery_ui_touch_punch": "1.0.0",
"drupal/linkit": "5.0-beta11",
"drupal/label_help": "dev-8.x-1.x", "drupal/label_help": "dev-8.x-1.x",
"drupal/layout_builder_browser": "1.2", "drupal/layout_builder_browser": "1.2",
"drupal/layout_builder_ids": "dev-2.0.x", "drupal/layout_builder_ids": "dev-2.0.x",
...@@ -82,6 +82,7 @@ ...@@ -82,6 +82,7 @@
"drupal/layout_builder_restrictions": "2.7", "drupal/layout_builder_restrictions": "2.7",
"drupal/layout_builder_styles": "1.0-beta2", "drupal/layout_builder_styles": "1.0-beta2",
"drupal/leaflet": "2.1.2", "drupal/leaflet": "2.1.2",
"drupal/linkit": "5.0-beta11",
"drupal/markup": "1.0-beta3", "drupal/markup": "1.0-beta3",
"drupal/maxlength": "1.0-rc1", "drupal/maxlength": "1.0-rc1",
"drupal/media_entity_browser": "2.0-alpha3", "drupal/media_entity_browser": "2.0-alpha3",
...@@ -167,6 +168,12 @@ ...@@ -167,6 +168,12 @@
"modules/features/{$name}": ["type:wcms-module"], "modules/features/{$name}": ["type:wcms-module"],
"modules/contrib/{$name}": ["type:drupal-module"], "modules/contrib/{$name}": ["type:drupal-module"],
"themes/{$name}": ["type:wcms-theme"] "themes/{$name}": ["type:wcms-theme"]
},
"enable-patching": true,
"patches": {
"drupal/core": {
"Fix Layout Builder rendering issues in Safari and Firefox": "patches/off-canvas-style-resets-2958588-13.patch"
}
} }
}, },
"require-dev": { "require-dev": {
......
diff --git a/core/misc/dialog/off-canvas.reset.css b/core/misc/dialog/off-canvas.reset.css
index 6c16f3ddd6..b2c0e68592 100644
--- a/core/misc/dialog/off-canvas.reset.css
+++ b/core/misc/dialog/off-canvas.reset.css
@@ -5,21 +5,6 @@
* This is a generic reset. Drupal-specific classes are reset in components.
*/
-/**
- * Do not include div in then initial overrides because including div will
- * cause the need for many more overrides in this file.
- */
-#drupal-off-canvas *:not(div),
-#drupal-off-canvas *:not(svg *),
-#drupal-off-canvas *:after,
-#drupal-off-canvas *:before {
- all: initial;
- box-sizing: border-box;
- text-shadow: none;
- -webkit-font-smoothing: antialiased;
- -webkit-tap-highlight-color: initial;
-}
-
/* Reset size and position on elements. */
#drupal-off-canvas a,
#drupal-off-canvas abbr,
diff --git a/core/themes/stable/css/core/dialog/off-canvas.reset.css b/core/themes/stable/css/core/dialog/off-canvas.reset.css
index 6c16f3ddd6..b2c0e68592 100644
--- a/core/themes/stable/css/core/dialog/off-canvas.reset.css
+++ b/core/themes/stable/css/core/dialog/off-canvas.reset.css
@@ -5,21 +5,6 @@
* This is a generic reset. Drupal-specific classes are reset in components.
*/
-/**
- * Do not include div in then initial overrides because including div will
- * cause the need for many more overrides in this file.
- */
-#drupal-off-canvas *:not(div),
-#drupal-off-canvas *:not(svg *),
-#drupal-off-canvas *:after,
-#drupal-off-canvas *:before {
- all: initial;
- box-sizing: border-box;
- text-shadow: none;
- -webkit-font-smoothing: antialiased;
- -webkit-tap-highlight-color: initial;
-}
-
/* Reset size and position on elements. */
#drupal-off-canvas a,
#drupal-off-canvas abbr,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment