]> BookStack Code Mirror - bookstack/commitdiff
Fixes tooltip on the image manager. 1238/head
authorabijeet <redacted>
Sun, 27 Jan 2019 14:13:31 +0000 (19:43 +0530)
committerabijeet <redacted>
Sun, 27 Jan 2019 14:13:31 +0000 (19:43 +0530)
Fixes #1186

resources/assets/sass/_components.scss
resources/lang/en/validation.php

index d00d1fe9a433f5497795d5fc765e577683f91d0a..7604705f79bef206d13728f3ecd436e70baaf620 100644 (file)
@@ -210,7 +210,6 @@ body.flexbox-support #entity-selector-wrap .popup-body .form-group {
 
 .image-manager-sidebar {
   width: 300px;
-  margin-left: 1px;
   overflow-y: auto;
   overflow-x: hidden;
   border-left: 1px solid #DDD;
@@ -524,8 +523,8 @@ body.flexbox-support #entity-selector-wrap .popup-body .form-group {
   font-size: 12px;
   line-height: 1.2;
   top: 88px;
-  left: -26px;
-  width: 148px;
+  left: -12px;
+  width: 160px;
   background: $negative;
   padding: $-xs;
   color: white;
@@ -535,7 +534,7 @@ body.flexbox-support #entity-selector-wrap .popup-body .form-group {
   content: '';
   position: absolute;
   top: -6px;
-  left: 64px;
+  left: 52px;
   width: 0;
   height: 0;
   border-left: 6px solid transparent;
index 0b6a1c170a5fb31d7d470eedf61bb7a89bd96dbb..e05cfca9dbe13222fdbc1f5ee492fb57fa5036d6 100644 (file)
@@ -69,6 +69,7 @@ return [
     'timezone'             => 'The :attribute must be a valid zone.',
     'unique'               => 'The :attribute has already been taken.',
     'url'                  => 'The :attribute format is invalid.',
+    'is_image'             => 'The :attribute must be a valid image.',
 
     // Custom validation lines
     'custom' => [