Make all banners sticky

This commit is contained in:
seotts 2021-11-10 16:31:41 -05:00
parent 7a51bded90
commit f7008f533d
3 changed files with 1 additions and 6 deletions

View file

@ -3,7 +3,7 @@
$navigation-height: 50px;
.banner {
position: fixed;
position: sticky;
top: $navigation-height;
z-index: 9;
box-shadow: 0 1px 1px $ui-dark-gray;

View file

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

View file

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