mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 01:25:52 -05:00
Merge pull request #2624 from apple502j/patch-7
Raise z-index of navbar
This commit is contained in:
commit
db6e0ed88f
3 changed files with 12 additions and 2 deletions
|
@ -292,7 +292,12 @@ const PreviewPresentation = ({
|
|||
</MediaQuery>
|
||||
</FlexRow>
|
||||
<FlexRow className="preview-row">
|
||||
<div className="guiPlayer">
|
||||
<div
|
||||
className={classNames(
|
||||
'guiPlayer',
|
||||
{fullscreen: isFullScreen}
|
||||
)}
|
||||
>
|
||||
{showCloudDataAlert && (
|
||||
<FlexRow className="project-info-alert">
|
||||
<FormattedMessage id="project.cloudDataAlert" />
|
||||
|
|
|
@ -347,6 +347,7 @@ $stage-width: 480px;
|
|||
display: inline-block;
|
||||
position: relative;
|
||||
width: $player-width;
|
||||
z-index: 1;
|
||||
|
||||
$alert-bg: rgba(255, 255, 255, .85);
|
||||
.project-info-alert {
|
||||
|
@ -360,6 +361,10 @@ $stage-width: 480px;
|
|||
font-size: .95rem;
|
||||
}
|
||||
|
||||
&.fullscreen {
|
||||
z-index: 200;
|
||||
}
|
||||
|
||||
@media #{$small} {
|
||||
width: 100%;
|
||||
}
|
||||
|
|
|
@ -641,7 +641,7 @@ class Preview extends React.Component {
|
|||
extensions={this.state.extensions}
|
||||
faved={this.state.clientFaved}
|
||||
favoriteCount={this.state.favoriteCount}
|
||||
isFullScreen={this.state.isFullScreen}
|
||||
isFullScreen={this.props.fullScreen}
|
||||
isLoggedIn={this.props.isLoggedIn}
|
||||
isNewScratcher={this.props.isNewScratcher}
|
||||
isProjectLoaded={this.state.isProjectLoaded}
|
||||
|
|
Loading…
Reference in a new issue