From 69f219d22984cdb493fdda7533953816e46ce72a Mon Sep 17 00:00:00 2001
From: bobzel <zzzman@gmail.com>
Date: Tue, 31 Aug 2021 09:08:31 -0400
Subject: re-added FontIconBadge for SharingManager icon

---
 src/client/views/nodes/button/FontIconBadge.tsx | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'src/client/views/nodes/button/FontIconBadge.tsx')

diff --git a/src/client/views/nodes/button/FontIconBadge.tsx b/src/client/views/nodes/button/FontIconBadge.tsx
index 3e451eea6..cf86b5e07 100644
--- a/src/client/views/nodes/button/FontIconBadge.tsx
+++ b/src/client/views/nodes/button/FontIconBadge.tsx
@@ -1,9 +1,10 @@
 import { observer } from "mobx-react";
-import React from "react";
+import * as React from "react";
 import { AclPrivate, Doc, DocListCast } from "../../../../fields/Doc";
 import { GetEffectiveAcl } from "../../../../fields/util";
 import { emptyFunction, returnFalse, setupMoveUpEvents } from "../../../../Utils";
 import { DragManager } from "../../../util/DragManager";
+import "./FontIconBadge.scss";
 
 interface FontIconBadgeProps {
     collection: Doc | undefined;
@@ -26,7 +27,7 @@ export class FontIconBadge extends React.Component<FontIconBadgeProps> {
     render() {
         if (!(this.props.collection instanceof Doc)) return (null);
         const length = DocListCast(this.props.collection.data).filter(d => GetEffectiveAcl(d) !== AclPrivate).length; //  Object.keys(d).length).length; // filter out any documents that we can't read
-        return <div className="fontIconBadge-container" style={{ width: 15, height: 15, top: 12 }} ref={this._notifsRef}>
+        return <div className="fontIconBadge-container" ref={this._notifsRef}>
             <div className="fontIconBadge" style={length > 0 ? { "display": "initial" } : { "display": "none" }}
                 onPointerDown={this.onPointerDown} >
                 {length}
-- 
cgit v1.2.3-70-g09d2

