Skip to content

Commit fbf915b

Browse files
committed
refactor(web): align-debug-component-content
1 parent 4c4a17e commit fbf915b

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

web/src/layout/Header/navbar/Debug.tsx

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const Container = styled.div`
88
display: flex;
99
flex-direction: column;
1010
gap: 12px;
11+
padding: 0px 3px;
1112
1213
label,
1314
a {
@@ -22,19 +23,23 @@ const StyledIframe = styled.iframe`
2223
border: none;
2324
width: 100%;
2425
height: 30px;
25-
border-radius: 300px;
26+
border-radius: 3px;
27+
`;
28+
29+
const StyledLabel = styled.label`
30+
padding-left: 8px;
2631
`;
2732

2833
const Version = () => (
29-
<label>
34+
<StyledLabel>
3035
v{RELEASE_VERSION}{" "}
3136
<a href={GIT_URL} target="_blank" rel="noreferrer">
3237
#{GIT_HASH}
3338
</a>
3439
{GIT_BRANCH && GIT_BRANCH !== "HEAD" && ` ${GIT_BRANCH}`}
3540
{GIT_TAGS && ` ${GIT_TAGS}`}
3641
{GIT_DIRTY && ` dirty`}
37-
</label>
42+
</StyledLabel>
3843
);
3944

4045
const ServicesStatus = () => {
@@ -54,7 +59,7 @@ const Phase = () => {
5459
const { data: phase } = useSortitionModulePhase({
5560
watch: true,
5661
});
57-
return <>{phase !== undefined && <label>Phase: {Phases[phase]}</label>}</>;
62+
return <>{phase !== undefined && <StyledLabel>Phase: {Phases[phase]}</StyledLabel>}</>;
5863
};
5964

6065
const Debug: React.FC = () => {

0 commit comments

Comments
 (0)