mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 09:35:56 -05:00
Make all banners sticky
This commit is contained in:
parent
7a51bded90
commit
f7008f533d
3 changed files with 1 additions and 6 deletions
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
.banner {
|
||||
position: sticky;
|
||||
}
|
Loading…
Reference in a new issue