LinkControl: remove unused CSS flex properties #58931
Labels
CSS Styling
Related to editor and front end styles, CSS-specific issues.
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
[Package] Block editor
/packages/block-editor
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
While reviewing all the CSS
order
and*-reverse
properties used in the editor I spotted a couple CSS declarations for the LinkControl that don't do anything and seem a leftover.gutenberg/packages/block-editor/src/components/link-control/style.scss
Lines 343 to 348 in 06cfe8c
Both
order: 30;
andflex-basis: 100%;
would take effect if this element was a flex item. However, the parend isn't a flexbox congtainer, it isdisplay: block;;
.The browser dev tools shows these two properties have no effect:
Introduced in d142cb0
See related discussion on #47328 (comment)
I thik the whole ruleset is now a leftover of a previous implementation in the original PR and can be safely removed.
Step-by-step reproduction instructions
block-editor-link-control__drawer
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: