From fbf5cec6703c79e5d84020ad6d6876975a96233a Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Fri, 25 Oct 2019 13:16:00 +0200 Subject: [PATCH] Simplify and fix vertical alignment Use the same css as the `maputnik-make-data-function` and `maputnik-make-zoom-function` buttons. --- src/styles/_zoomproperty.scss | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/src/styles/_zoomproperty.scss b/src/styles/_zoomproperty.scss index 0c5adb0..2b9ce14 100644 --- a/src/styles/_zoomproperty.scss +++ b/src/styles/_zoomproperty.scss @@ -45,17 +45,12 @@ } .maputnik-delete-stop { + display: inline-block; + padding-bottom: 0; + padding-top: 0; + vertical-align: middle; + @extend .maputnik-icon-button; - - vertical-align: top; - - .maputnik-doc-wrapper { - width: auto; - } - - .maputnik-doc-target { - cursor: pointer; - } } .maputnik-add-stop {