Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/Pages/Play/Play.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ export default function Play():React.ReactElement{
//Page Renders the piano, if the width is to small, it renders "Screen Width to small"
//Rendering the components to handle playing management, and component to handle the piano
return (
<div style={{overflow:'hidden', height:'100vh', position:'relative'}}>
{width_height.width < 500 && <div className='WIDTH_INFO'><h3 className='jersey-10'>PLEASE ROTATE THE DEVICE, SCREEN WIDTH CURRENTLY IS TO SMALL TOO DISPLAY PIANO</h3></div>}
<div style={{overflow:'hidden', position:'relative'}}>
<UpdatedDrawPiano width={width_height.width} height={width_height.height} Player={player} total_nr_of_keys={88} />
{player && <UpdatedPlayingManagement Player={player}/>}
</div>
Expand Down