Web Inspector: Styles Redesign: Long value causes bad wrapping
authornvasilyev@apple.com <nvasilyev@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 16 Jan 2018 20:31:54 +0000 (20:31 +0000)
committernvasilyev@apple.com <nvasilyev@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 16 Jan 2018 20:31:54 +0000 (20:31 +0000)
https://bugs.webkit.org/show_bug.cgi?id=181618
<rdar://problem/36485175>

Reviewed by Joseph Pecoraro.

Wrap long values only when editing.

* UserInterface/Views/SpreadsheetCSSStyleDeclarationEditor.css:
(.spreadsheet-style-declaration-editor .value.editing):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@226995 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Views/SpreadsheetCSSStyleDeclarationEditor.css

index ff5c690..0de69d4 100644 (file)
@@ -1,5 +1,18 @@
 2018-01-16  Nikita Vasilyev  <nvasilyev@apple.com>
 
+        Web Inspector: Styles Redesign: Long value causes bad wrapping
+        https://bugs.webkit.org/show_bug.cgi?id=181618
+        <rdar://problem/36485175>
+
+        Reviewed by Joseph Pecoraro.
+
+        Wrap long values only when editing.
+
+        * UserInterface/Views/SpreadsheetCSSStyleDeclarationEditor.css:
+        (.spreadsheet-style-declaration-editor .value.editing):
+
+2018-01-16  Nikita Vasilyev  <nvasilyev@apple.com>
+
         Web Inspector: Styles Redesign: clicking on the white space after the property sometimes places a blank property at the wrong index
         https://bugs.webkit.org/show_bug.cgi?id=179585
         <rdar://problem/35490780>
index de02b57..54f296f 100644 (file)
@@ -52,6 +52,7 @@
     display: inline-block;
     position: relative;
     z-index: 1;
+    max-width: 100%;
 }
 
 .spreadsheet-style-declaration-editor.no-properties {