Skip to content

Commit e297dc0

Browse files
committed
live-web-view.navigation: Added TopNav transparent option.
1 parent 5d6080d commit e297dc0

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

packages/live-web-view/navigation/style/topnav.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,17 @@
22
@apply relative flex flex-col justify-between w-full min-h-[3rem] bg-white dark:bg-mono-1 text-[#555] dark:text-mono-e md:items-center;
33
@apply border-b border-mono-c dark:border-mono-4;
44
}
5+
&TopNav&.transparent{
6+
@apply bg-[transparent] border-0;
7+
}
58
&TopNav&.position-static{
69
@apply static;
710
}
811
&TopNav .nav-fixed{
912
@apply fixed w-full h-12;
1013
}
1114
&TopNav .nav-content{
12-
@apply flex items-center h-full px-4 min-h-[3rem] space-x-1 justify-between md:justify-start;
15+
@apply flex items-center h-full px-2 min-h-[3rem] space-x-1 justify-between md:justify-start;
1316
}
1417
&TopNav .nav-brand {
1518
@apply text-base font-semibold h-full flex flex-col justify-center;
@@ -58,7 +61,7 @@
5861
@apply hidden md:flex items-center;
5962
}
6063
&TopNav ul{
61-
@apply flex flex-col px-3 h-full;
64+
@apply flex flex-col px-3 h-[3rem];
6265
}
6366
&TopNav ul li{
6467
@apply list-none h-full;

0 commit comments

Comments
 (0)