diff --git a/src/main/java/org/gcube/portlets/user/socialprofile/client/SocialProfile.java b/src/main/java/org/gcube/portlets/user/socialprofile/client/SocialProfile.java index 2776428..48b3d3b 100644 --- a/src/main/java/org/gcube/portlets/user/socialprofile/client/SocialProfile.java +++ b/src/main/java/org/gcube/portlets/user/socialprofile/client/SocialProfile.java @@ -94,8 +94,6 @@ public class SocialProfile implements EntryPoint { socialService.getUserContext(getUserToShowId(), new AsyncCallback() { @Override public void onSuccess(UserContext result) { - if (!result.isInfrastructure()) - RootPanel.get("SocialProfileDiv").setStyleName("frame-social"); mainPanel.add(dispProfile); dispProfile.show(result); if (result.getSummary() != null && result.getSummary().compareTo("") != 0) { diff --git a/src/main/webapp/SocialProfile.css b/src/main/webapp/SocialProfile.css index deacf74..d353c45 100644 --- a/src/main/webapp/SocialProfile.css +++ b/src/main/webapp/SocialProfile.css @@ -1,13 +1,3 @@ -.frame-social { - padding: 10px; - margin: 5px 0 0 10px; - background-color: #FFF; - border-radius: 6px !important; - -moz-border-radius: 6px !important; - -webkit-border-radius: 6px !important; - border: 1px solid #DBDBDB; -} - .profile-section { margin: 0px 5px 5px; font-family: 'Helvetica Neue', Arial, sans-serif;