فهرست منبع

Making the button strip sticky

bodicsek 6 سال پیش
والد
کامیت
46d8f745d8
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  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>