Parcourir la source

add notification-icon

Shun Miyazawa il y a 4 ans
Parent
commit
e4a2ff1608

+ 1 - 0
src/client/js/components/Admin/Users/UserMenu.jsx

@@ -85,6 +85,7 @@ class UserMenu extends React.Component {
       <UncontrolledDropdown id="userMenu" size="sm">
         <DropdownToggle caret color="secondary" outline>
           <i className="icon-settings"></i>
+          <i className="fa fa-circle text-danger notification-icon"></i>
         </DropdownToggle>
         <DropdownMenu positionFixed>
           {this.renderEditMenu()}

+ 6 - 0
src/client/styles/scss/_user.scss

@@ -34,6 +34,12 @@ $easeInOutCubic: cubic-bezier(0.65, 0, 0.35, 1);
   }
 }
 
+.notification-icon {
+  position: absolute;
+  top: -3px;
+  left: 30px;
+}
+
 .draft-list-item {
   .icon-container {
     .icon-copy,