Skip to content

Commit 6251eae

Browse files
committed
PM-2135 - mobile ui
1 parent 386af7d commit 6251eae

File tree

3 files changed

+45
-5
lines changed

3 files changed

+45
-5
lines changed

src/apps/review/src/pages/ai-scorecards/components/AiModelModal/AiModelModal.module.scss

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,19 @@
11
@import '@libs/ui/styles/includes';
22

3+
.wrap {
4+
@include ltemd {
5+
padding-top: $sp-15;
6+
}
7+
}
8+
39
.modelNameWrap {
410
display: flex;
511
align-items: center;
612
gap: $sp-4;
13+
@include ltemd {
14+
flex-direction: column;
15+
gap: $sp-4;
16+
}
717
}
818

919
.modelIcon {
@@ -38,6 +48,13 @@
3848
width: 16px;
3949
height: 16px;
4050
}
51+
52+
@include ltemd {
53+
h3 {
54+
font-size: 22px;
55+
line-height: 26px;
56+
}
57+
}
4158
}
4259

4360
.modelDescription {

src/apps/review/src/pages/ai-scorecards/components/ScorecardHeader/ScorecardHeader.module.scss

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,18 @@
22

33
.wrap {
44
width: 100%;
5+
color: #0A0A0A;
56
}
67

78
.headerWrap {
89
display: flex;
910
align-items: flex-start;
11+
12+
@include ltemd {
13+
flex-direction: column;
14+
align-items: stretch;
15+
gap: $sp-6;
16+
}
1017
}
1118

1219
.workflowInfo {
@@ -27,19 +34,20 @@
2734
justify-content: center;
2835

2936
flex: 0 0 auto;
37+
@include ltemd {
38+
width: 56px;
39+
height: 56px;
40+
}
3041
}
3142

3243
.workflowName {
33-
display: flex;
34-
flex-direction: column;
35-
gap: $sp-2;
36-
3744
h3 {
3845
font-family: "Figtree", sans-serif;
3946
font-size: 26px;
4047
font-weight: 700;
4148
line-height: 30px;
4249
color: #0A0A0A;
50+
margin-bottom: $sp-2;
4351
}
4452

4553
span {
@@ -49,6 +57,17 @@
4957
font-size: 16px;
5058
line-height: 22px;
5159
}
60+
61+
.modelName {
62+
cursor: pointer;
63+
}
64+
65+
@include ltemd {
66+
h3 {
67+
font-size: 22px;
68+
line-height: 26px;
69+
}
70+
}
5271
}
5372

5473
.workflowRunStats {
@@ -77,6 +96,10 @@
7796
line-height: 19px;
7897
color: var(--FontColor);
7998
}
99+
100+
@include ltemd {
101+
margin-left: 0;
102+
}
80103
}
81104

82105
.workflowDescription {

src/apps/review/src/pages/ai-scorecards/components/ScorecardHeader/ScorecardHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const ScorecardHeader: FC = () => {
4141
<IconDeepseekAi className={styles.workflowIcon} />
4242
<div className={styles.workflowName}>
4343
<h3>{workflow.name}</h3>
44-
<span onClick={toggleModelDetails}>{workflow.llm.name}</span>
44+
<span className={styles.modelName} onClick={toggleModelDetails}>{workflow.llm.name}</span>
4545
</div>
4646
</div>
4747
<div className={styles.workflowRunStats}>

0 commit comments

Comments
 (0)