mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
Fix context window progress bar spacing (#1554)
This commit is contained in:
parent
1ae1d047cb
commit
3885f09a0b
1 changed files with 4 additions and 7 deletions
|
|
@ -117,7 +117,7 @@ const TaskHeader: React.FC<TaskHeaderProps> = ({
|
|||
<div
|
||||
style={{
|
||||
display: "flex",
|
||||
flexDirection: windowWidth < 320 ? "column" : "row",
|
||||
flexDirection: windowWidth < 270 ? "column" : "row",
|
||||
gap: "4px",
|
||||
}}>
|
||||
<div
|
||||
|
|
@ -136,19 +136,16 @@ const TaskHeader: React.FC<TaskHeaderProps> = ({
|
|||
style={{
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
gap: "8px",
|
||||
gap: "3px",
|
||||
flex: 1,
|
||||
whiteSpace: "nowrap",
|
||||
}}>
|
||||
<span>
|
||||
{formatLargeNumber(lastApiReqTotalTokens)} (
|
||||
{Math.round((lastApiReqTotalTokens / contextWindow) * 100)}%)
|
||||
</span>
|
||||
<span>{formatLargeNumber(lastApiReqTotalTokens)}</span>
|
||||
<div
|
||||
style={{
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
gap: "8px",
|
||||
gap: "3px",
|
||||
flex: 1,
|
||||
}}>
|
||||
<div
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue