Skip to content
GitLab
    • Explore Projects Groups Snippets
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Merge requests
  • !758
An error occurred while fetching the assigned milestone of the selected merge_request.

Fix the right and bottom padding of the error overlay

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/fson/fix-error-overlay-padding into master 8 years ago
  • Overview 2
  • Commits 1
  • Pipelines 0
  • Changes 1

Created by: fson

Minor CSS tweak to the error overlay: fix the right and bottom padding by adding box-sizing: border-box.

Before: screen shot 2016-09-26 at 3 22 06

After: screen shot 2016-09-26 at 3 22 38

Compare
  • master (base)

and
  • latest version
    9908059a
    1 commit, 2 years ago

1 file
+ 1
- 0

    Preferences

    File browser
    Compare changes
packages/react-dev-utils/webpackHotDevClient.js
+ 1
- 0
  • View file @ 9908059a

  • Edit in single-file editor

  • Open in Web IDE


@@ -60,6 +60,7 @@ function addOverlayDivTo(iframe) {
@@ -60,6 +60,7 @@ function addOverlayDivTo(iframe) {
var div = iframe.contentDocument.createElement('div');
var div = iframe.contentDocument.createElement('div');
div.id = 'react-dev-utils-webpack-hot-dev-client-overlay-div';
div.id = 'react-dev-utils-webpack-hot-dev-client-overlay-div';
div.style.position = 'fixed';
div.style.position = 'fixed';
 
div.style.boxSizing = 'border-box';
div.style.left = 0;
div.style.left = 0;
div.style.top = 0;
div.style.top = 0;
div.style.right = 0;
div.style.right = 0;
0 Assignees
None
Assign to
0 Reviewers
None
Request review from
Labels
0
None
0
None
    Assign labels
  • Manage project labels

Milestone
No milestone
None
None
Time tracking
No estimate or time spent
Lock merge request
Unlocked
0
0 participants
Reference:
Source branch: github/fork/fson/fix-error-overlay-padding

Menu

Explore Projects Groups Snippets