diff options
author | Matthias <git@myrho.net> | 2020-01-16 12:35:06 +0100 |
---|---|---|
committer | Matthias <git@myrho.net> | 2020-01-16 12:39:53 +0100 |
commit | 63c802888985a449f9f24eb1b451f5fa76a7cdf5 (patch) | |
tree | 99b448dcfc5d4293c8a582aaaddcb56f8c86b817 /css | |
parent | 908607ae10783868577ac206308c1a6ad992adce (diff) |
remove delete buttons and other actions if contact is not readable
Diffstat (limited to 'css')
-rw-r--r-- | css/Properties/Properties.scss | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/css/Properties/Properties.scss b/css/Properties/Properties.scss index ba6dcac4..8dbf2785 100644 --- a/css/Properties/Properties.scss +++ b/css/Properties/Properties.scss @@ -22,6 +22,7 @@ $property-label-min-width: 60px; $property-label-max-width: 2 * $property-label-min-width; $property-value-max-width: 250px; +$property-ext-padding-right: 8px; .property { position: relative; @@ -170,7 +171,7 @@ $property-value-max-width: 250px; &__ext { position: absolute; // 8px padding + actions - right: 44px + 8px; + right: 44px + $property-ext-padding-right; opacity: 0; &:hover, &:focus, @@ -179,6 +180,10 @@ $property-value-max-width: 250px; } } + .no-move { + right: $property-ext-padding-right; + } + // Delete property button + actions &__actions { z-index: 10; |