From 9ad4d8e8def5be4dc5b5b281649496951f0268f8 Mon Sep 17 00:00:00 2001 From: Costantino Perciante Date: Thu, 12 May 2016 12:39:13 +0000 Subject: [PATCH] Added a bottom margin to import from linkedin and edit profile buttons git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/social-profile@128569 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../portlets/user/socialprofile/client/ui/DisplayProfile.java | 2 ++ src/main/webapp/SocialProfile.css | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/src/main/java/org/gcube/portlets/user/socialprofile/client/ui/DisplayProfile.java b/src/main/java/org/gcube/portlets/user/socialprofile/client/ui/DisplayProfile.java index c19d45e..f03b381 100644 --- a/src/main/java/org/gcube/portlets/user/socialprofile/client/ui/DisplayProfile.java +++ b/src/main/java/org/gcube/portlets/user/socialprofile/client/ui/DisplayProfile.java @@ -120,6 +120,7 @@ public class DisplayProfile extends Composite { institutionLabel.getElement().getStyle().setOpacity(0.5); } + editButton.addStyleName("import-edit-buttons-style"); editButton.setVisible(true); editButton.addClickHandler(new ClickHandler() { @Override @@ -131,6 +132,7 @@ public class DisplayProfile extends Composite { } }); + importButton.addStyleName("import-edit-buttons-style"); importButton.setVisible(true); importButton.addClickHandler(new ClickHandler() { //TODO: make it a runtime resource diff --git a/src/main/webapp/SocialProfile.css b/src/main/webapp/SocialProfile.css index d353c45..ce07a88 100644 --- a/src/main/webapp/SocialProfile.css +++ b/src/main/webapp/SocialProfile.css @@ -55,6 +55,10 @@ img.user-photo { width: 250px; } +.import-edit-buttons-style { + margin-bottom: 5px !important; +} + .headline { font-family: 'Helvetica Neue', Arial, sans-serif; font-size: 16px;