[wp-trac] [WordPress Trac] #54809: UI issue on edit post

WordPress Trac noreply at wordpress.org
Fri Jan 21 07:46:59 UTC 2022


#54809: UI issue on edit post
-----------------------------+------------------------------
 Reporter:  sumitsingh       |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Editor           |     Version:  5.8.3
 Severity:  normal           |  Resolution:
 Keywords:  has-screenshots  |     Focuses:  ui, css
-----------------------------+------------------------------

Comment (by umesh84):

 As the issue is arising due to the button text. It is preferable to remove
 the text "Edit with elementor" and keep the icon. I am attaching the CSS
 for that

 Here is the image:
 [[Image(https://prnt.sc/26grn3h)]]


 Here is the code:
 {{{
 @media only screen and (max-width: 767px) {

 body .block-editor #elementor-switch-mode {

     margin: 0;
 }
 body .block-editor #elementor-switch-mode-button {

     min-height: 33px;
     padding: 0 10px;


 }
  body .block-editor #elementor-switch-mode .elementor-switch-mode-off {

     font-size: 0;
 }
 body .block-editor #elementor-switch-mode .elementor-switch-mode-off i {

     font-size: 14px;
     padding: 0;
 }
 }
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54809#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list