Browse Source

hide caret

itizawa 6 years ago
parent
commit
0678ce2b51
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/client/js/components/Navbar/PersonalDropdown.jsx

+ 3 - 1
src/client/js/components/Navbar/PersonalDropdown.jsx

@@ -56,7 +56,9 @@ const PersonalDropdown = (props) => {
   return (
   return (
     <>
     <>
       {/* Button */}
       {/* Button */}
-      <a className="nav-link dropdown-toggle waves-effect waves-light" data-toggle="dropdown">
+      {/* remove .dropdown-toggle for hide caret */}
+      {/* See https://stackoverflow.com/a/44577512/13183572 */}
+      <a className="nav-link waves-effect waves-light" data-toggle="dropdown">
         <UserPicture user={user} withoutLink />&nbsp;{user.name}
         <UserPicture user={user} withoutLink />&nbsp;{user.name}
       </a>
       </a>