Skip to content

Commit

Permalink
fix tab line height, remove unnecessary file
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelSun48 committed Jan 7, 2025
1 parent 5c19909 commit 5fd797d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
2 changes: 2 additions & 0 deletions static/app/views/issueList/issueViews/editableTabTitle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ const UnselectedTabTitle = styled('div')<{isSelected: boolean}>`
text-overflow: ellipsis;
padding-right: 1px;
cursor: pointer;
line-height: 1.45;
`;

const StyledGrowingInput = styled(GrowingInput)<{
Expand All @@ -160,6 +161,7 @@ const StyledGrowingInput = styled(GrowingInput)<{
text-overflow: ellipsis;
cursor: text;
max-width: 325px;
line-height: 1.5;
&,
&:focus,
Expand Down
Empty file.
18 changes: 10 additions & 8 deletions static/app/views/issueList/issueViews/issueViewTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -155,14 +155,16 @@ export function IssueViewTab({
}
/>
{!queryCountLoading && queryCount && (
<QueryCountBadge>
<QueryCount
count={queryCount?.[view.query]}
max={TAB_MAX_COUNT}
hideIfEmpty={false}
hideParens
/>
</QueryCountBadge>
<motion.div>
<QueryCountBadge>
<QueryCount
count={queryCount?.[view.query]}
max={TAB_MAX_COUNT}
hideIfEmpty={false}
hideParens
/>
</QueryCountBadge>
</motion.div>
)}
{/* If tablistState isn't initialized, we want to load the elipsis menu
for the initial tab, that way it won't load in a second later
Expand Down

0 comments on commit 5fd797d

Please sign in to comment.