diff --git a/lib/components/app/app-menu.js b/lib/components/app/app-menu.js index 69749c504..f4d7a9138 100644 --- a/lib/components/app/app-menu.js +++ b/lib/components/app/app-menu.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react' +import React, { Component, Fragment } from 'react' import PropTypes from 'prop-types' import qs from 'qs' import { connect } from 'react-redux' @@ -80,28 +80,22 @@ class AppMenu extends Component { if (children) { return ( - <> + this._toggleSubmenu(id)} > - + )} - + ) } @@ -192,13 +186,13 @@ class AppMenu extends Component { className='menu-item' onClick={resetAndToggleFieldTrips} > - + Field Trip )} {mailablesEnabled && ( - + Mailables )} diff --git a/lib/index.css b/lib/index.css index 301e4e439..38694a570 100644 --- a/lib/index.css +++ b/lib/index.css @@ -98,6 +98,7 @@ input[type="text"]::-ms-clear { .app-menu li a { color: inherit; + font-size: 20px; text-decoration: none; outline: none; } @@ -129,11 +130,10 @@ input[type="text"]::-ms-clear { white-space: nowrap; } -.expand-submenu-button { +.expand-submenu-button a { display: flex; width: 100%; justify-content: space-between; - margin: 0rem 0rem 0rem -0.5rem; background: transparent; border: none; outline: none;