Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion components/BottomDrawer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const Index = ({ children }) => {

return (
<Sheet
open={bottomDrawerOpen && width < 1020}
open={bottomDrawerOpen && width < 1200}
onOpenChange={(open) => {
if (!open) setBottomDrawerOpen(false);
}}
Expand Down
2 changes: 1 addition & 1 deletion components/DelegatingWidget/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const Input = ({
type="number"
min="0"
step="any"
autoFocus={width > 1020}
autoFocus={width >= 1200}
value={value}
onChange={onChange}
css={{
Expand Down
2 changes: 1 addition & 1 deletion layouts/account.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ const AccountLayout = ({
{view === "history" && <HistoryView />}
</Flex>
{(isOrchestrator || isMyDelegate || isDelegatingAndIsMyAccountView) &&
(width > 1020 ? (
(width >= 1200 ? (
<Flex
css={{
display: "none",
Expand Down
4 changes: 2 additions & 2 deletions layouts/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,11 @@ const Layout = ({ children, title = "Livepeer Explorer" }) => {
}, [isReady, isBannerDisabledByQuery]);

useEffect(() => {
if (width > 1020) {
if (width >= 1200) {
document.body.removeAttribute("style");
}

if (width < 1020 && drawerOpen) {
if (width < 1200 && drawerOpen) {
document.body.style.overflow = "hidden";
}
}, [drawerOpen, width]);
Expand Down
2 changes: 1 addition & 1 deletion pages/voting/[poll].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ const Poll = () => {
</Box>
</Flex>

{width > 1200 ? (
{width >= 1200 ? (
<Flex
css={{
display: "none",
Expand Down