mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-17 00:21:20 -05:00
Merge pull request #7618 from corihudson/hotfix-sticky-banner
hotfix: make banner aside use sticky position
This commit is contained in:
commit
a2ffb0e92e
2 changed files with 4 additions and 1 deletions
|
@ -45,7 +45,7 @@ class PrivacyBanner extends React.Component {
|
|||
const privacyPolicyLink = chunks => <a href="/privacy_policy">{chunks}</a>;
|
||||
if (showBanner) {
|
||||
return (
|
||||
<aside>
|
||||
<aside className="privacy-aside">
|
||||
<TitleBanner className="privacy-banner">
|
||||
<div className="privacy-banner-container">
|
||||
<img
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
@import "../../colors";
|
||||
@import "../../frameless";
|
||||
|
||||
.privacy-aside {
|
||||
position: sticky;
|
||||
}
|
||||
|
||||
.privacy-banner {
|
||||
display: flex;
|
||||
|
|
Loading…
Reference in a new issue