slate-angular 1.7.4 → 1.7.5

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": "slate-angular",
3
- "version": "1.7.4",
3
+ "version": "1.7.5",
4
4
  "peerDependencies": {
5
5
  "slate": ">= 0.63.0",
6
6
  "slate-history": "^0.62.0",
package/styles/index.scss CHANGED
@@ -25,6 +25,15 @@
25
25
  width: 100%;
26
26
  }
27
27
  }
28
+ &.firefox {
29
+ // Compatible for firefox, there are two problems with using inline-block
30
+ // Issue-1: paragraph height becomes taller
31
+ // Issue-2: blocks focus movement on key down
32
+ .leaf-with-placeholder {
33
+ display: inline-flex !important;
34
+ }
35
+
36
+ }
28
37
  }
29
38
 
30
39
  .slate-spacer {