smaller header in mobile size

This commit is contained in:
Martti Malmi
2023-11-29 15:57:46 +02:00
parent 7c63cf1ab5
commit 67af84e8bb
4 changed files with 2 additions and 11 deletions

View File

@ -15,15 +15,6 @@
text-decoration: none; text-decoration: none;
} }
header {
display: flex;
padding: var(--header-padding-tb) 16px;
justify-content: space-between;
align-items: center;
align-self: stretch;
gap: 24px;
}
.header-actions .avatar { .header-actions .avatar {
width: 40px; width: 40px;
height: 40px; height: 40px;

View File

@ -82,7 +82,7 @@ export default function Index() {
function Header() { function Header() {
return ( return (
<header className="sticky top-0 md:hidden z-10 backdrop-blur-lg"> <header className="flex justify-between items-center self-stretch px-4 gap-6 sticky top-0 md:hidden z-10 bg-bg-color py-1">
<LogoHeader /> <LogoHeader />
<AccountHeader /> <AccountHeader />
</header> </header>

View File

@ -49,7 +49,6 @@
); );
--expired-invoice-gradient: linear-gradient(45deg, var(--gray-superdark) 50%, var(--gray), var(--gray-superdark)); --expired-invoice-gradient: linear-gradient(45deg, var(--gray-superdark) 50%, var(--gray), var(--gray-superdark));
--sub-bg: #111; --sub-bg: #111;
--header-padding-tb: 10px;
--btn-color: #fff; --btn-color: #fff;
--primary-gradient: linear-gradient(90deg, rgba(239, 150, 68, 1) 0%, rgba(123, 65, 246, 1) 100%); --primary-gradient: linear-gradient(90deg, rgba(239, 150, 68, 1) 0%, rgba(123, 65, 246, 1) 100%);
--cashu-gradient: linear-gradient(90deg, #40b039, #adff2a); --cashu-gradient: linear-gradient(90deg, #40b039, #adff2a);

View File

@ -8,6 +8,7 @@ module.exports = {
"nearly-bg-color": "var(--nearly-bg-color)", "nearly-bg-color": "var(--nearly-bg-color)",
"border-color": "var(--border-color)", "border-color": "var(--border-color)",
highlight: "var(--highlight)", highlight: "var(--highlight)",
"bg-color": "var(--bg-color)",
}, },
textColor: { textColor: {
"nostr-blue": "var(--repost)", "nostr-blue": "var(--repost)",