diff --git a/.yarn/cache/react-refresh-npm-0.14.0-78ef5eeb73-dc69fa8c99.zip b/.yarn/cache/react-refresh-npm-0.14.0-78ef5eeb73-dc69fa8c99.zip new file mode 100644 index 000000000..dc79dbded Binary files /dev/null and b/.yarn/cache/react-refresh-npm-0.14.0-78ef5eeb73-dc69fa8c99.zip differ diff --git a/packages/web/package.json b/packages/web/package.json index 0cf60ac66..7a868371f 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -25,6 +25,7 @@ "@babel/plugin-transform-react-jsx": "^7.17.3", "@babel/preset-env": "*", "@babel/preset-typescript": "^7.16.7", + "@pmmmwh/react-refresh-webpack-plugin": "^0.5.7", "@types/jest": "^27.5.1", "@types/react": "^17.0.42", "@types/react-dom": "^18.0.5", @@ -50,6 +51,7 @@ "postcss-loader": "^7.0.0", "prettier": "*", "prettier-plugin-tailwindcss": "^0.1.11", + "react-refresh": "^0.14.0", "sass-loader": "*", "svg-jest": "^1.0.1", "tailwindcss": "^3.1.4", diff --git a/packages/web/src/javascripts/Components/Dropdown/StyledListboxButton.tsx b/packages/web/src/javascripts/Components/Dropdown/StyledListboxButton.tsx index b11f31190..6f2734741 100644 --- a/packages/web/src/javascripts/Components/Dropdown/StyledListboxButton.tsx +++ b/packages/web/src/javascripts/Components/Dropdown/StyledListboxButton.tsx @@ -1,7 +1,9 @@ import { ListboxButton } from '@reach/listbox' import styled from 'styled-components' -const StyledListboxButton = styled(ListboxButton)` +const StyledListboxButton = styled(ListboxButton).attrs(() => ({ + className: 'w-full md:w-fit', +}))` &[data-reach-listbox-button] { background-color: var(--sn-stylekit-background-color); border-radius: 0.25rem; @@ -14,7 +16,6 @@ const StyledListboxButton = styled(ListboxButton)` padding-left: 0.875rem; padding-right: 0.875rem; padding-top: 0.375rem; - width: fit-content; } ` diff --git a/packages/web/src/javascripts/Components/Preferences/Panes/Account/Authentication.tsx b/packages/web/src/javascripts/Components/Preferences/Panes/Account/Authentication.tsx index 7c7bf2063..f4dd3788c 100644 --- a/packages/web/src/javascripts/Components/Preferences/Panes/Account/Authentication.tsx +++ b/packages/web/src/javascripts/Components/Preferences/Panes/Account/Authentication.tsx @@ -30,7 +30,7 @@ const Authentication: FunctionComponent = ({ viewControllerManager }) => return ( -
+
You're not signed in diff --git a/packages/web/src/javascripts/Components/Preferences/Panes/Account/SignOutView.tsx b/packages/web/src/javascripts/Components/Preferences/Panes/Account/SignOutView.tsx index 3814f53ad..f2eeaa904 100644 --- a/packages/web/src/javascripts/Components/Preferences/Panes/Account/SignOutView.tsx +++ b/packages/web/src/javascripts/Components/Preferences/Panes/Account/SignOutView.tsx @@ -23,9 +23,8 @@ const SignOutView: FunctionComponent = observer(({ application, viewContr Sign out Other devices Want to sign out on all devices except this one? -
+