Studio: login card polish and sidebar label alignment (#6242)
Rounder corners and more padding on the login card, a submit button that sizes to its label, and the sidebar chat and run rows nudged 2px left with the section headers brought flush to the row text so the labels line up like Gemini's sidebar.
This commit is contained in:
parent
40cb0a71b4
commit
b3ffa266da
4 changed files with 5 additions and 5 deletions
|
|
@ -949,7 +949,7 @@ export function AppSidebar() {
|
|||
</div>
|
||||
</SidebarGroupLabel>
|
||||
<CollapsibleContent>
|
||||
<SidebarGroupContent className="px-1.5">
|
||||
<SidebarGroupContent className="pl-1 pr-1.5">
|
||||
<SidebarMenu>
|
||||
{recentChatItems.map((item) =>
|
||||
renderChatSidebarItem(item, "recent"),
|
||||
|
|
@ -971,7 +971,7 @@ export function AppSidebar() {
|
|||
</CollapsibleTrigger>
|
||||
</SidebarGroupLabel>
|
||||
<CollapsibleContent>
|
||||
<SidebarGroupContent className="px-2">
|
||||
<SidebarGroupContent className="pl-1.5 pr-2">
|
||||
<SidebarMenu>
|
||||
{runItems.map((run) => {
|
||||
// Explicit selection wins. Otherwise highlight the active
|
||||
|
|
|
|||
|
|
@ -443,7 +443,7 @@ export function AuthForm({ mode }: AuthFormProps): ReactElement | null {
|
|||
|
||||
<Button
|
||||
type="submit"
|
||||
className="w-full"
|
||||
className="mx-auto flex w-fit px-8"
|
||||
disabled={
|
||||
loading ||
|
||||
statusLoading ||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ export function LoginPage() {
|
|||
length="70vh"
|
||||
className="opacity-35 dark:opacity-15"
|
||||
/>
|
||||
<Card className="relative z-10 w-full max-w-sm px-5 py-6 shadow-border ring-0 sm:px-6 sm:py-8">
|
||||
<Card className="relative z-10 w-full max-w-sm rounded-[2.5rem] px-7 py-8 shadow-border ring-0 sm:px-8 sm:py-10">
|
||||
<AuthForm mode="login" />
|
||||
</Card>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -598,7 +598,7 @@
|
|||
}
|
||||
|
||||
.sidebar-sticky-label {
|
||||
@apply rounded-none bg-sidebar pt-0 pb-[8px] pl-[20px] pr-4 text-[14px]! leading-[17px] font-medium normal-case focus-visible:ring-0! focus-visible:outline-none transition-shadow duration-150;
|
||||
@apply rounded-none bg-sidebar pt-0 pb-[8px] pl-[16px] pr-4 text-[14px]! leading-[17px] font-medium normal-case focus-visible:ring-0! focus-visible:outline-none transition-shadow duration-150;
|
||||
/* Muted section-header gray, matching Gemini's "Notebooks"/"Recents".
|
||||
Lightened from #5f6368 so the label reads as a header, clearly
|
||||
lighter than the near-black nav items. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue