From c5fa769a232a4234a20a808ce09a0b738df8965f Mon Sep 17 00:00:00 2001 From: "mitchell.ma" Date: Thu, 23 Sep 2021 11:06:26 -0700 Subject: [PATCH] rearranged font values to match formal syntax for ie11 --- src/Truncate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Truncate.js b/src/Truncate.js index 2db1e034..64aff58f 100644 --- a/src/Truncate.js +++ b/src/Truncate.js @@ -157,8 +157,8 @@ export default class Truncate extends Component { const style = window.getComputedStyle(target); const font = [ - style['font-weight'], style['font-style'], + style['font-weight'], style['font-size'], style['font-family'] ].join(' ');