From 03c65a82916db21d89166dcd91042abbf481e0c1 Mon Sep 17 00:00:00 2001 From: Denis Baranov Date: Fri, 12 Jan 2018 11:07:15 +0200 Subject: [PATCH] - fixed RTL styles --- assets/css/um-responsive.css | 10 ++++++++++ assets/css/um.rtl.css | 7 ++++++- includes/admin/core/class-admin-settings.php | 4 ++-- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/assets/css/um-responsive.css b/assets/css/um-responsive.css index 6c4450c3..c125e09b 100644 --- a/assets/css/um-responsive.css +++ b/assets/css/um-responsive.css @@ -656,6 +656,16 @@ div.uimob960 .um-search .um-search-submit .um-button.um-alt {float: right} div.uimob960 .um-member {width: 48%} div.uimob960 .um-gutter-sizer {width: 4%} +div.uimob960 .um-profile-photo { + width: 200px !important; +} + +div.uimob960 .um-profile-photo a.um-profile-photo-img { + width: 140px !important; + height: 140px !important; + top: -70px !important; +} + /************************************************/ @media screen and (max-height: 400px) { diff --git a/assets/css/um.rtl.css b/assets/css/um.rtl.css index 21d01a68..6710d105 100644 --- a/assets/css/um.rtl.css +++ b/assets/css/um.rtl.css @@ -13,15 +13,20 @@ right: 30px; } +div.uimob500 .um-profile-photo a.um-profile-photo-img { + right: auto; +} + .um-profile-edit { right: auto; left: 10px; padding-left: 10px; } +div.uimob960 .um-header .um-profile-meta, div.uimob800 .um-header .um-profile-meta { padding-left: 0 !important; - padding-right: 200px !important; + padding-right: 200px !important; } .um-name { diff --git a/includes/admin/core/class-admin-settings.php b/includes/admin/core/class-admin-settings.php index 69950103..37b3455d 100644 --- a/includes/admin/core/class-admin-settings.php +++ b/includes/admin/core/class-admin-settings.php @@ -485,12 +485,12 @@ if ( ! class_exists( 'Admin_Settings' ) ) { array( 'id' => 'restricted_access_post_metabox', 'type' => 'hidden', - 'value' => '', + 'value' => '', ), array( 'id' => 'restricted_access_taxonomy_metabox', 'type' => 'hidden', - 'value' => '', + 'value' => '', ), array( 'id' => 'restricted_access_post_metabox',