Skip to content

Commit

Permalink
Fix some small bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
jaclarke committed Nov 28, 2024
1 parent 3aaed04 commit f1ac64e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions shared/common/utils/relativeTime.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const RelativeTime = observer(function RelativeTime({
return (
<>
{sec}
{fullNames ? (sec != 0 ? " seconds" : " second") : "s"} ago
{fullNames ? (sec != 1 ? " seconds" : " second") : "s"} ago
</>
);
}
Expand All @@ -76,7 +76,7 @@ export const RelativeTime = observer(function RelativeTime({
return (
<>
{min}
{fullNames ? (min != 0 ? " minutes" : " minute") : "m"} ago
{fullNames ? (min != 1 ? " minutes" : " minute") : "m"} ago
</>
);
}
Expand Down
4 changes: 2 additions & 2 deletions shared/studio/tabs/queryEditor/queryeditor.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ $historyTransitionTime: 0.15s;
flex-shrink: 0;
background: var(--header_background);
border-radius: 12px;
z-index: 2;
z-index: 10;
overflow: hidden;
transition: width $historyTransitionTime;

Expand Down Expand Up @@ -97,7 +97,7 @@ $historyTransitionTime: 0.15s;
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.06);
display: grid;
grid-template-columns: 1fr auto 1fr minmax(max-content, 50%);
z-index: 2;
z-index: 5;

@include darkTheme {
border-bottom-color: var(--Grey25);
Expand Down

0 comments on commit f1ac64e

Please sign in to comment.