From b6d62f3b758c9ee14f6db425870ef39da0b04530 Mon Sep 17 00:00:00 2001 From: Hendrik Leppelsack Date: Wed, 19 Apr 2017 18:46:43 +0200 Subject: prettier item-action overflow --- css/public/style.css | 10 +++++++--- templates/detailItems/email.html | 6 +++--- templates/detailItems/tel.html | 4 +++- templates/detailItems/url.html | 4 +++- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/css/public/style.css b/css/public/style.css index 8f7759ae..f5764886 100644 --- a/css/public/style.css +++ b/css/public/style.css @@ -264,11 +264,15 @@ detailsitem .icon-delete { detailsitem .item-action { position: absolute; - padding: 8px 10px; - margin-left: -30px; + padding: 8px 5px; opacity: .5; top: 2px; - right: 33px; + right: 30px; +} + +detailsitem .item-action ~ input { + padding-right: 30px; + text-overflow: ellipsis; } detailsitem .item-action i { diff --git a/templates/detailItems/email.html b/templates/detailItems/email.html index c31f629f..d297bf9d 100644 --- a/templates/detailItems/email.html +++ b/templates/detailItems/email.html @@ -1,6 +1,9 @@ + + + - - - diff --git a/templates/detailItems/tel.html b/templates/detailItems/tel.html index c522976c..340d90cc 100644 --- a/templates/detailItems/tel.html +++ b/templates/detailItems/tel.html @@ -1,6 +1,9 @@ + + + -📞 diff --git a/templates/detailItems/url.html b/templates/detailItems/url.html index d8cdd2e5..e3bf47f0 100644 --- a/templates/detailItems/url.html +++ b/templates/detailItems/url.html @@ -1,4 +1,7 @@ + + + -↗ -- cgit v1.2.3