Post locked modal: the Preview link is hidden but then displayed only for small screens #24381
Labels
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Describe the bug
When a post is locked because it's already being edited by another user, the "post locked" modal dialog appears. On desktop, it shows only the "Exit the Editor" and "Take Over" links. Although the "Preview" link is rendered, it's hidden because of this CSS rule:
With a viewport width smaller than 600 pixels, the Preview link is shown:
Not sure this is the intended behavior. I'd tend to think the Preview link within this modal dialog should always be displayed. The CSS rule above appear to be intended for the Preview link in the top toolbar, which replaces the Preview menu under 600 pixels.
Also to note:
Editor version (please complete the following information):
The text was updated successfully, but these errors were encountered: