fix: space header buttons fill full height for edge-to-edge hover/click
This commit is contained in:
@@ -576,10 +576,10 @@ export function ChannelSidebar() {
|
|||||||
<>
|
<>
|
||||||
<div className="w-60 md:w-full bg-surface-channel flex flex-col flex-shrink-0 select-none md:pl-[72px] border-r border-border-hard">
|
<div className="w-60 md:w-full bg-surface-channel flex flex-col flex-shrink-0 select-none md:pl-[72px] border-r border-border-hard">
|
||||||
{/* Space header */}
|
{/* Space header */}
|
||||||
<div className="py-3 flex items-stretch border-b border-border-hard z-10 group/header">
|
<div className="h-14 flex items-stretch border-b border-border-hard z-10 group/header">
|
||||||
<button
|
<button
|
||||||
onClick={() => openModal('spaceSettings')}
|
onClick={() => openModal('spaceSettings')}
|
||||||
className="flex-1 min-h-8 px-4 flex items-center justify-between hover:bg-interactive-hover transition-colors min-w-0"
|
className="flex-1 h-full px-4 flex items-center justify-between hover:bg-interactive-hover transition-colors min-w-0"
|
||||||
>
|
>
|
||||||
<div className="min-w-0">
|
<div className="min-w-0">
|
||||||
<span className="font-bold text-[15px] tracking-[-0.02em] text-txt-primary truncate leading-tight block">{space.name}</span>
|
<span className="font-bold text-[15px] tracking-[-0.02em] text-txt-primary truncate leading-tight block">{space.name}</span>
|
||||||
@@ -596,7 +596,7 @@ export function ChannelSidebar() {
|
|||||||
{canCreateInvite && (
|
{canCreateInvite && (
|
||||||
<button
|
<button
|
||||||
onClick={() => openModal('invite')}
|
onClick={() => openModal('invite')}
|
||||||
className="w-10 min-h-8 flex items-center justify-center text-txt-tertiary hover:text-txt-primary hover:bg-interactive-hover transition-all flex-shrink-0"
|
className="w-10 h-full flex items-center justify-center text-txt-tertiary hover:text-txt-primary hover:bg-interactive-hover transition-all flex-shrink-0"
|
||||||
title="Invite People"
|
title="Invite People"
|
||||||
>
|
>
|
||||||
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
|
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
|
||||||
|
|||||||
Reference in New Issue
Block a user