Add banner css; make sticky

This commit is contained in:
seotts 2021-11-10 12:01:22 -05:00
parent 85e5342748
commit 7a51bded90
2 changed files with 5 additions and 0 deletions

View file

@ -4,6 +4,8 @@ import PropTypes from 'prop-types';
import DropdownBanner from '../banner.jsx'; import DropdownBanner from '../banner.jsx';
import EmailConfirmationModal from '../../../components/modal/email-confirmation/modal.jsx'; import EmailConfirmationModal from '../../../components/modal/email-confirmation/modal.jsx';
require('./banner.scss');
const EmailConfirmationBanner = ({onRequestDismiss}) => { const EmailConfirmationBanner = ({onRequestDismiss}) => {
const [showEmailConfirmationModal, setShowEmailConfirmationModal] = useState(false); const [showEmailConfirmationModal, setShowEmailConfirmationModal] = useState(false);

View file

@ -0,0 +1,3 @@
.banner {
position: sticky;
}