diff --git a/.npmrc b/.npmrc
index e85df2b9db..df9588e268 100644
--- a/.npmrc
+++ b/.npmrc
@@ -1,6 +1,6 @@
 registry=https://registry.yarnpkg.com/
 
 @chainsafe:registry=https://npm.pkg.github.com
-//npm.pkg.github.com/:_authToken=GITHUB_PACKAGES_AUTH_TOKEN
+//npm.pkg.github.com/:_authToken=${GITHUB_PACKAGES_AUTH_TOKEN}
 //registry.npmjs.org
 always-auth=true 
\ No newline at end of file
diff --git a/packages/files-ui/src/Components/Modules/FilePreviewModal.tsx b/packages/files-ui/src/Components/Modules/FilePreviewModal.tsx
index 8bbdc28d19..bb986190ba 100644
--- a/packages/files-ui/src/Components/Modules/FilePreviewModal.tsx
+++ b/packages/files-ui/src/Components/Modules/FilePreviewModal.tsx
@@ -74,7 +74,7 @@ const useStyles = makeStyles(
         left: 0,
         top: 0,
         width: "100%",
-        maxWidth: breakpoints.values["md"],
+        maxWidth: breakpoints.values["md"] - 200,
         height: constants.generalUnit * 8,
         backgroundColor: constants.previewModal.controlsBackground,
         color: constants.previewModal.controlsColor,