From 630ab878c9f5308dba76fee2985e352b8141aa7a Mon Sep 17 00:00:00 2001 From: Kirk Mayo Date: Tue, 10 Jul 2012 14:52:34 +1200 Subject: [PATCH] BUG:fixed the misaligned edit and delete buttons in gridfield Trac 7527 --- css/GridField.css | 2 +- scss/GridField.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/css/GridField.css b/css/GridField.css index 13d4cf6e9..fc09d448a 100644 --- a/css/GridField.css +++ b/css/GridField.css @@ -45,7 +45,7 @@ .cms table.ss-gridfield-table tbody td.col-getTreeTitle span.badge.deletedonlive { color: #636363; border: 1px solid #E49393; background-color: #F2DADB; } .cms table.ss-gridfield-table tbody td.col-getTreeTitle span.badge.removedfromdraft { color: #636363; border: 1px solid #E49393; background-color: #F2DADB; } .cms table.ss-gridfield-table tbody td.col-getTreeTitle span.badge.workflow-approval { color: #56660C; border: 1px solid #7C8816; background-color: #DAE79A; } -.cms table.ss-gridfield-table tbody td button { border: none; background: none; margin: 0 0 0 2px; padding: 6px 0; width: auto; text-shadow: none; } +.cms table.ss-gridfield-table tbody td button { border: none; background: none; margin: 0 0 0 2px; padding: 1px 0; width: auto; text-shadow: none; } .cms table.ss-gridfield-table tbody td button.ui-state-hover { background: none; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; } .cms table.ss-gridfield-table tbody td button.ui-state-active { border: none; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; } .cms table.ss-gridfield-table tbody td button.gridfield-button-delete { width: 20px; margin: 0; } diff --git a/scss/GridField.scss b/scss/GridField.scss index 68708cb0e..1c6ac9cd2 100644 --- a/scss/GridField.scss +++ b/scss/GridField.scss @@ -237,7 +237,7 @@ $gf_grid_x: 16px; border: none; background: none; margin: 0 0 0 2px; - padding: 6px 0; + padding: 1px 0; width: auto; text-shadow: none; &.ui-state-hover {