@mediafly/js-ui 51.2.2 → 51.2.3-1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mediafly/js-ui",
3
- "version": "51.2.2",
3
+ "version": "51.2.3-1",
4
4
  "license": "UNLICENSED",
5
5
  "description": "UI components for Mediafly Angular applications",
6
6
  "repository": {
@@ -33,6 +33,19 @@ rich-text {
33
33
  }
34
34
  }
35
35
 
36
+ // Quill thinks the Left Align button shows a dropdown box to show pick an alignment (see example at https://quilljs.com/docs/formats),
37
+ // so it is highlighted when any other alignment is selected, and isn't highlighted when none is selected (i.e. we're defaulting to left align).
38
+ // Override the styles to reverse that.
39
+ .c-rich-text.ql-toolbar .ql-align:not([value]) {
40
+ .ql-stroke {
41
+ stroke: #06c;
42
+ }
43
+
44
+ &.ql-active .ql-stroke {
45
+ stroke: #444;
46
+ }
47
+ }
48
+
36
49
  .ql-editor a {
37
50
  // allows links to be colored when bold or italic
38
51
  color: inherit;