Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Conversation

aklt
Copy link
Contributor

@aklt aklt commented Mar 9, 2017

Associated Issue: #2287

This is a partial fix making the close button appear correctly upon opening of the conditional panel. It is still possible to cover the button by dragging the right panel over it, however. This does not always happen, but I was able to reproduce it.

When it becomes possible to catch drag events this issue should be revisited.

I also added a bit of space between the button and the right panel.

Test

  • Open source code with very long lines (ie. jQuery) in the debugger and press
    CTRL-SHIFT-b to open the conditional panel. The close button should be visible
    in the conditional panel to the right of the editor.

@codecov-io
Copy link

codecov-io commented Mar 9, 2017

Codecov Report

Merging #2314 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master   #2314   +/-   ##
======================================
  Coverage       0%      0%           
======================================
  Files          80      80           
  Lines        2489    2489           
======================================
  Misses       2489    2489
Impacted Files Coverage Δ
src/components/Editor/index.js 0% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2ca875b...8d5c3d6. Read the comment docs.

@@ -32,6 +32,7 @@

.close-btn-big {
padding: 11px;
margin-right: 7px;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wouldn't this fail for a really long line?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh i see - that's nice.

@jasonLaster jasonLaster merged commit c36c533 into firefox-devtools:master Mar 9, 2017
@jasonLaster
Copy link
Contributor

@aklt aklt deleted the conditional-breakpoint-panel-close-button-hidden-in-files-with-long-lines-2287 branch March 9, 2017 19:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants