Skip to content

Commit

Permalink
style: fix dynamic viewport height
Browse files Browse the repository at this point in the history
  • Loading branch information
aseerkt committed Aug 10, 2024
1 parent 5c3c6a3 commit c199f56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>mChat</title>
</head>
<body class="scroll-smooth">
<body class="h-dvh scroll-smooth">
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
Expand Down
2 changes: 1 addition & 1 deletion web/src/components/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { forwardRef } from 'react'
import { cn } from '../utils/style'

const buttonVariants = cva(
'rounded-lg border-2 border-black disabled:bg-gray-300',
'rounded-lg border-2 border-black disabled:bg-gray-300 disabled:border-gray-300',
{
variants: {
variant: {
Expand Down

0 comments on commit c199f56

Please sign in to comment.