wpsight / wpcasa

WPCasa WordPress Real Estate
https://wpcasa.com
GNU General Public License v2.0
42 stars 23 forks source link

[BUG] Icons in WPCasa Admin Dashboard are shifted #119

Open JoeHana opened 4 years ago

JoeHana commented 4 years ago

Prerequisites

Description

For some reason all the icons on the buttons are shifted in the WPCasa Admin Dashboard Panel (Check Screenshot below) Checking the console it seems like this is caused by the following CSS from the wpsight-admin.min.css

.wpsight-settings-page .wpsight-settings-wrap .settings_panel .wpsight-admin-ui-panel .button-text-icon span {
    position: relative;
    top: 11px;
    margin-right: 5px;
}

Removing the top: 11px; fixes this issue. However, I'm currently not sure why exactly this has been added in the first place. There must be a reason

Screenshots and Attachments

WPCasa-Settings-‹-WPCasa-London-—-WordPress

JoeHana commented 4 years ago

This issue seems to be caused by a 3rd party plugin (WP Ultimo) which is adding some admin css to properly align icons in buttons - nevertheless it is causing this conflict with the admin css from WPCasa.

Will get in touch with the authors of WP Ultimo in order to solve this. However, we might also need to consider to properly specify our own CSS in order to prevent similar issues in the future.