refactor(ui): only show fixed top border on pwa desktop widths

pull/1833/head
sct 3 years ago
parent 4eab2fea73
commit 11378549c6
No known key found for this signature in database
GPG Key ID: 77D146606D30DCCD

@ -46,7 +46,7 @@ const Layout: React.FC = ({ children }) => {
return ( return (
<div className="flex h-full min-w-0 min-h-full bg-gray-900"> <div className="flex h-full min-w-0 min-h-full bg-gray-900">
<div className="fixed inset-0 z-20 w-full h-1 border-t border-gray-700 pwa-only" /> <div className="fixed inset-0 z-20 w-full h-1 border-gray-700 md:border-t pwa-only" />
<div className="absolute top-0 w-full h-64 from-gray-800 to-gray-900 bg-gradient-to-bl"> <div className="absolute top-0 w-full h-64 from-gray-800 to-gray-900 bg-gradient-to-bl">
<div className="relative inset-0 w-full h-full from-gray-900 to-transparent bg-gradient-to-t" /> <div className="relative inset-0 w-full h-full from-gray-900 to-transparent bg-gradient-to-t" />
</div> </div>

Loading…
Cancel
Save