diff --git a/css/paragraphs.widget.css b/css/paragraphs.widget.css index 1f0ec1e2370e12a22a185fba29f5a84a627f087a..e011b717666aa587a2b73e0ac3ac27566534bc01 100644 --- a/css/paragraphs.widget.css +++ b/css/paragraphs.widget.css @@ -166,6 +166,7 @@ .js .field--widget-paragraphs th .paragraphs-actions { float: right; margin-right: -11px; + height: 1.25rem; } .js .field--widget-paragraphs .form-actions, @@ -234,7 +235,7 @@ .js .field--widget-paragraphs .draggable .tabledrag-handle::after { margin-left: 0; padding: .5rem; - margin-top: 0.9375rem; + margin-top: -0.5rem; } .js .field--widget-paragraphs .draggable .tabledrag-handle:hover .handle { @@ -246,12 +247,6 @@ text-decoration: none; } -.js .field--widget-paragraphs .tabledrag-handle .handle { - height: 22px; - margin-left: 0; - margin-right: 0; -} - .js .field--widget-paragraphs .delta-order { padding-right: 10px; text-align: right; diff --git a/css/paragraphs.widget.scss b/css/paragraphs.widget.scss index bc9f05abbc03a90576a036334572a2d9371d765c..56853e032b0e49df1409f66b922c8670b34ee710 100644 --- a/css/paragraphs.widget.scss +++ b/css/paragraphs.widget.scss @@ -94,6 +94,7 @@ // Table th padding is 12px but for some weird reason here we need to do // -11px to return it back. margin-right: -11px; + height: 1.25rem; } // Fix alignment of field-actions / form-actions. @@ -167,7 +168,7 @@ &::after { margin-left: 0; padding: .5rem; - margin-top: 0.9375rem; + margin-top: -0.5rem; } // Scale the icon on hover. @@ -180,12 +181,6 @@ text-decoration: none; } - .tabledrag-handle .handle { - height: 22px; - margin-left: 0; - margin-right: 0; - } - .delta-order { padding-right: 10px; text-align: right;