Parcourir la source

Making the button strip sticky

bodicsek il y a 6 ans
Parent
commit
46d8f745d8
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      src/app/App.tsx

+ 2 - 2
src/app/App.tsx

@@ -51,14 +51,14 @@ const App: React.FC = () => {
           <InputLabel id="link-label">Link</InputLabel>
           <div style={{ overflowWrap: "break-word" }}>{fullPath}</div>
         </Grid>
-        <Grid item xs={12} style={{ textAlign: "center" }}>
+        <Grid item xs={12} style={{ textAlign: "center", width: "100%", position: "fixed", bottom: "0", background: "white" }}>
           <IconButton title="Share application" color="secondary" onClick={_ => shareApp(store.getState())}>
             <ShareIcon fontSize="small" />
           </IconButton>
           <IconButton title="Copy link to clipboard" color="secondary" onClick={_ => copyToClipboard(fullPath)}>
             <AssignmentIcon fontSize="small" />
           </IconButton>
-          <IconButton title="Open link new window" color="primary" onClick={_ => window.open(fullPath)}>
+          <IconButton title="Open link in new window" color="primary" onClick={_ => window.open(fullPath)}>
             <OpenInNewIcon fontSize="large" />
           </IconButton>
         </Grid>