File tree 2 files changed +20
-9
lines changed
2 files changed +20
-9
lines changed Original file line number Diff line number Diff line change @@ -345,14 +345,16 @@ detailedPageTitle appContext contribution =
345
345
, div [ class " page-title_description" ]
346
346
[ span
347
347
[ class " from-to" ]
348
- [ text " from "
349
- , span [ class " branches " ]
350
- [ BranchRef . toTag contribution. sourceBranchRef
348
+ [ span [ class " branch " ]
349
+ [ text " from "
350
+ , BranchRef . toTag contribution. sourceBranchRef
351
351
|> Tag . withClick ( Link . projectBranchRoot contribution. projectRef contribution. sourceBranchRef)
352
352
|> Tag . large
353
353
|> Tag . view
354
354
, CopyOnClick . copyButton ( BranchRef . toString contribution. sourceBranchRef)
355
- , text " to"
355
+ ]
356
+ , span [ class " branch" ]
357
+ [ text " to"
356
358
, BranchRef . toTag contribution. targetBranchRef
357
359
|> Tag . withClick ( Link . projectBranchRoot contribution. projectRef contribution. targetBranchRef)
358
360
|> Tag . large
Original file line number Diff line number Diff line change 59
59
text-transform : capitalize;
60
60
}
61
61
62
- & .branches {
62
+ & .branch {
63
63
display : flex;
64
64
flex-direction : row;
65
65
align-items : center;
108
108
& .page-title {
109
109
flex : 1 ;
110
110
111
- & . page-title_default-title . text {
112
- gap : 0.5 rem ;
111
+ & h1 {
112
+ font-size : 1.25 rem ;
113
113
}
114
114
}
115
115
116
- & .page-title_description {
116
+ & .page-title_description . from-to {
117
117
flex-direction : column;
118
118
align-items : flex-start;
119
- gap : 0.75rem ;
119
+ gap : 0.25rem ;
120
+
121
+ & .branch {
122
+ gap : 0.25rem ;
123
+
124
+ & .copy-on-click {
125
+ display : none;
126
+ }
127
+ }
120
128
}
121
129
130
+
122
131
& .page-title_right-side {
123
132
align-self : flex-end;
124
133
}
You can’t perform that action at this time.
0 commit comments