chore: comment fixes - tab issues and hardcoded strings

This commit is contained in:
Sushan Yadav 2024-02-28 20:46:08 +05:45
parent f34eb48d1e
commit 563059e887
2 changed files with 8 additions and 3 deletions

View File

@ -8,7 +8,6 @@ export const tabsTheme = tv({
triggerWrapper: [ triggerWrapper: [
// Horizontal default // Horizontal default
'px-1', 'px-1',
'pb-5',
'cursor-default', 'cursor-default',
'select-none', 'select-none',
'text-elements-low-em', 'text-elements-low-em',
@ -55,9 +54,13 @@ export const tabsTheme = tv({
'outline-none', 'outline-none',
'leading-none', 'leading-none',
'tracking-[-0.006em]', 'tracking-[-0.006em]',
'text-sm',
'rounded-md', 'rounded-md',
// Horizontal default // Horizontal default
'data-[orientation=horizontal]:focus-ring', 'data-[orientation=horizontal]:focus-ring',
'data-[orientation=horizontal]:h-10',
// select direct child of data-[orientation=horizontal]
'[&[data-orientation=horizontal]_>_*]:h-full',
// Vertical // Vertical
'data-[orientation=vertical]:gap-2', 'data-[orientation=vertical]:gap-2',
'data-[orientation=vertical]:justify-start', 'data-[orientation=vertical]:justify-start',

View File

@ -162,7 +162,7 @@ const OverviewTabPanel = () => {
<div className="flex gap-2 items-center"> <div className="flex gap-2 items-center">
<BranchStrokeIcon className="text-elements-low-em w-4 h-5" /> <BranchStrokeIcon className="text-elements-low-em w-4 h-5" />
<span className="text-elements-high-em text-sm tracking-tighter"> <span className="text-elements-high-em text-sm tracking-tighter">
feature/add-remote-control {project.deployments[0]?.branch}
</span> </span>
</div> </div>
</OverviewInfo> </OverviewInfo>
@ -172,7 +172,9 @@ const OverviewTabPanel = () => {
<div className="flex gap-2 items-center"> <div className="flex gap-2 items-center">
<Link to="#"> <Link to="#">
<span className="group text-controls-primary hover:border-controls-primary transition-colors border-b border-b-transparent flex gap-2 items-center text-sm tracking-tight"> <span className="group text-controls-primary hover:border-controls-primary transition-colors border-b border-b-transparent flex gap-2 items-center text-sm tracking-tight">
dbname{' '} {/* // TODO: add db name
dbname
*/}
<LinkIcon className="group-hover:rotate-45 transition-transform" /> <LinkIcon className="group-hover:rotate-45 transition-transform" />
</span> </span>
</Link> </Link>