Skip to content

Commit 3c6e086

Browse files
committed
add style for branch search warning
1 parent de9e8dd commit 3c6e086

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

ui/src/Components/DashBoard/Repository/RepoComponents/RepoDetails/RepoDetailBackdrop/BranchListComponent.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,10 @@ export default function BranchListComponent({ repoId, currentBranch }) {
379379
})
380380
) : (
381381
<div className="text-center font-sans font-light text-xl my-2 text-gray-600 border-b border-dotted">
382-
{branchSearchTerm.concat(" branch not available!")}
382+
<span className="mx-2 font-semibold border-b border-dashed">
383+
{branchSearchTerm}
384+
</span>
385+
branch is not available!
383386
</div>
384387
)
385388
) : (

ui/src/Components/DashBoard/Repository/RepoComponents/RepositoryAction.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,8 +324,11 @@ export default function RepositoryAction() {
324324
});
325325
} else {
326326
return (
327-
<div className="text-center font-sans font-light text-xl my-2 text-gray-600 border-b border-dotted">
328-
{searchBranchValue.concat(" branch not available!")}
327+
<div className="text-center font-sans font-light text-base my-2 text-indigo-800 border-b border-dotted">
328+
<span className="mx-1 font-semibold border-b border-dashed">
329+
{searchBranchValue}
330+
</span>
331+
branch is not available!
329332
</div>
330333
);
331334
}

0 commit comments

Comments
 (0)