Skip to content

Commit e012824

Browse files
authored
Merge pull request #184 from opentripplanner/expandable-route-short-name
fix(line-itin/itinerary.css): Allow long route short names.
2 parents 7525efa + 265e166 commit e012824

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: lib/components/narrative/line-itin/itinerary.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -273,13 +273,13 @@
273273
.otp .line-itin .leg-body .route-short-name {
274274
display: inline-block;
275275
background-color: #0f6aac;
276-
padding-top: 1px;
276+
padding: 2px 3px;
277277
color: white;
278278
font-weight: 500;
279279
font-size: 14px;
280280
margin-right: 6px;
281281
text-align: center;
282-
width: 24px;
282+
min-width: 24px;
283283
height: 24px;
284284
border-radius: 12px;
285285
border: 1px solid white;

0 commit comments

Comments
 (0)