| @@ -472,4 +472,16 @@ | ||
| 472 | 472 | |
| 473 | 473 | .srfm-ee-quick-access__sidebar--prevent-editor-interactions { |
| 474 | 474 | pointer-events: none; |
| 475 | 475 | } |
| 476 | + | |
| 477 | +/** | |
| 478 | + * WP 7.1 Distraction Free mode. | |
| 479 | + * | |
| 480 | + * The quick-action sidebar is a fixed element inserted into | |
| 481 | + * `.interface-interface-skeleton__body`, so core's distraction-free chrome | |
| 482 | + * hiding never reaches it and it lingers as a floating artifact. Hide it while | |
| 483 | + * distraction-free is active; toggling the mode off restores it. | |
| 484 | + */ | |
| 485 | +.is-distraction-free .srfm-ee-quick-access-container { | |
| 486 | + display: none; | |
| 487 | +} | |