File tree 8 files changed +13
-64
lines changed
fomantic/build/components
8 files changed +13
-64
lines changed Original file line number Diff line number Diff line change 82
82
<tbody>
83
83
{{range $key, $value := .PackageDescriptor.Metadata.Labels}}
84
84
<tr>
85
- <td class="top aligned ">{{$key}}</td>
85
+ <td class="tw-align- top">{{$key}}</td>
86
86
<td class="tw-break-anywhere">{{$value}}</td>
87
87
</tr>
88
88
{{end}}
Original file line number Diff line number Diff line change 63
63
64
64
{{if and (not .PageIsOrgSettingsLabels) (.OrgLabels)}}
65
65
<li class="item">
66
- <div class="ui grid middle aligned">
67
- <div class="ten wide column">
68
- {{ctx.Locale.Tr "repo.org_labels_desc"}}
69
- {{if .IsOrganizationOwner}}
70
- <a href="{{.OrganizationLink}}/settings/labels">({{ctx.Locale.Tr "repo.org_labels_desc_manage"}})</a>:
71
- {{end}}
72
- </div>
66
+ <div>{{/* parent is flex, so use block here to keep sentence spaces */}}
67
+ {{ctx.Locale.Tr "repo.org_labels_desc"}}
68
+ {{if .IsOrganizationOwner}}
69
+ <a href="{{.OrganizationLink}}/settings/labels">({{ctx.Locale.Tr "repo.org_labels_desc_manage"}})</a>:
70
+ {{end}}
73
71
</div>
74
72
</li>
75
73
Original file line number Diff line number Diff line change 1
1
<div class="divider"></div>
2
- <div class="ui equal width compact grid">
3
- {{$issueReferenceLink := printf "%s#%d" .Issue.Repo.FullName .Issue.Index}}
4
- <div class="row tw-items-center" data-tooltip-content="{{$issueReferenceLink}}">
5
- <span class="text column truncate">{{ctx.Locale.Tr "repo.issues.reference_link" $issueReferenceLink}}</span>
6
- <button class="ui two wide button column tw-p-2" data-clipboard-text="{{$issueReferenceLink}}">{{svg "octicon-copy" 14}}</button>
7
- </div>
2
+ {{$issueReferenceLink := printf "%s#%d" .Issue.Repo.FullName .Issue.Index}}
3
+ <div class="flex-text-block" data-tooltip-content="{{$issueReferenceLink}}">
4
+ <span class="tw-flex-1 gt-ellipsis">{{ctx.Locale.Tr "repo.issues.reference_link" $issueReferenceLink}}</span>
5
+ <button class="ui compact tiny icon button" data-clipboard-text="{{$issueReferenceLink}}">{{svg "octicon-copy" 14}}</button>
8
6
</div>
Original file line number Diff line number Diff line change 81
81
{{end}}
82
82
{{else}}
83
83
{{if .Repos}}
84
- <div class="ui middle aligned divided list">
84
+ <div class="ui list">
85
85
{{range .Repos}}
86
86
<div class="item">
87
87
<div class="content flex-text-block">
Original file line number Diff line number Diff line change 393
393
margin-right : 2.5rem ;
394
394
}
395
395
396
- .ui [class *= "middle aligned" ].grid > .column : not (.row ),
397
- .ui [class *= "middle aligned" ].grid > .row > .column ,
398
- .ui .grid > [class *= "middle aligned" ].row > .column ,
399
- .ui .grid > [class *= "middle aligned" ].column : not (.row ),
400
- .ui .grid > .row > [class *= "middle aligned" ].column {
401
- flex-direction : column;
402
- vertical-align : middle;
403
- align-self : center !important ;
404
- }
405
-
406
- .ui [class *= "equal width" ].grid > .column : not (.row ),
407
- .ui [class *= "equal width" ].grid > .row > .column ,
408
- .ui .grid > [class *= "equal width" ].row > .column {
409
- display : inline-block;
410
- flex-grow : 1 ;
411
- }
412
- .ui [class *= "equal width" ].grid > .wide .column ,
413
- .ui [class *= "equal width" ].grid > .row > .wide .column ,
414
- .ui .grid > [class *= "equal width" ].row > .wide .column {
415
- flex-grow : 0 ;
416
- }
417
-
418
396
@media only screen and (max-width : 767.98px ) {
419
397
.ui [class *= "mobile reversed" ].grid ,
420
398
.ui [class *= "mobile reversed" ].grid > .row ,
Original file line number Diff line number Diff line change 152
152
}
153
153
}
154
154
155
- .ui .table [class *= "top aligned" ],
156
- .ui .table [class *= "top aligned" ] {
157
- vertical-align : top;
158
- }
159
-
160
- .ui .table [class *= "middle aligned" ],
161
- .ui .table [class *= "middle aligned" ] {
162
- vertical-align : middle;
163
- }
164
-
165
155
.ui .table th .collapsing ,
166
156
.ui .table td .collapsing {
167
157
width : 1px ;
Original file line number Diff line number Diff line change 1499
1499
width : 100% ;
1500
1500
}
1501
1501
1502
- /*--------------------
1503
- Equal Width
1504
- ---------------------*/
1505
-
1506
- .ui [class *= "equal width" ].form .fields > .field ,
1507
- .ui .form [class *= "equal width" ].fields > .field {
1508
- width : 100% ;
1509
- flex : 1 1 auto;
1510
- }
1511
-
1512
1502
/*--------------------
1513
1503
Inline Fields
1514
1504
---------------------*/
Original file line number Diff line number Diff line change 116
116
align-self : start;
117
117
max-width : 100% ;
118
118
}
119
- .ui .modal > [class *= "top aligned" ] {
120
- align-self : start;
121
- }
122
- .ui .modal > [class *= "middle aligned" ] {
123
- align-self : center;
124
- }
119
+
125
120
.ui .modal > [class *= "stretched" ] {
126
121
align-self : stretch;
127
122
}
258
253
padding : 1rem 0 !important ;
259
254
box-shadow : none;
260
255
}
261
-
256
+
262
257
/* Let Buttons Stack */
263
258
.ui .modal > .actions {
264
259
padding : 1rem 1rem 0rem !important ;
You can’t perform that action at this time.
0 commit comments