From 2d790c242920147486b7094746d776f12546b2fc Mon Sep 17 00:00:00 2001 From: Costantino Perciante Date: Fri, 6 May 2016 16:17:16 +0000 Subject: [PATCH] Css fixed git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/questions@128512 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../portlets/user/questions/client/VREManagersPanel.java | 4 +--- src/main/webapp/Questions.css | 4 ---- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/main/java/org/gcube/portlets/user/questions/client/VREManagersPanel.java b/src/main/java/org/gcube/portlets/user/questions/client/VREManagersPanel.java index 750cbb3..b1df6aa 100644 --- a/src/main/java/org/gcube/portlets/user/questions/client/VREManagersPanel.java +++ b/src/main/java/org/gcube/portlets/user/questions/client/VREManagersPanel.java @@ -12,7 +12,6 @@ import org.gcube.portlets.widgets.wsmail.client.forms.MailForm; import com.github.gwtbootstrap.client.ui.AlertBlock; import com.github.gwtbootstrap.client.ui.Button; -import com.github.gwtbootstrap.client.ui.Label; import com.github.gwtbootstrap.client.ui.constants.AlertType; import com.github.gwtbootstrap.client.ui.constants.ButtonType; import com.google.gwt.core.client.GWT; @@ -103,7 +102,6 @@ public class VREManagersPanel extends Composite { managers = users; askManagersOption.setHorizontalAlignment(HasAlignment.ALIGN_LEFT); askManagersOption.setVerticalAlignment(HasVerticalAlignment.ALIGN_TOP); - askManagersOption.setStyleName("questions-frame"); postToImage.setStyleName("manager-post-image"); postToImage.setTitle("Message privately to the Managers"); if (users == null || users.isEmpty()) { @@ -194,7 +192,7 @@ public class VREManagersPanel extends Composite { // add to main panel alertBlockOnLeave.setHTML(leaveAlertMessage + "

"); alertBlockOnLeave.add(cancel); - alertBlockOnLeave.add(new Label(" or ")); + alertBlockOnLeave.add(new HTML(" or ")); alertBlockOnLeave.add(confirmLeave); alertBlockOnLeave.setType(AlertType.WARNING); alertBlockOnLeave.setHeading("WARNING!"); diff --git a/src/main/webapp/Questions.css b/src/main/webapp/Questions.css index 4d37119..fc5f0e6 100644 --- a/src/main/webapp/Questions.css +++ b/src/main/webapp/Questions.css @@ -6,10 +6,6 @@ margin-bottom: 5px; } -.questions-frame { - padding: 10px; -} - .manager-user-photo { padding: 3px; border: 1px solid #E6E6E6;