Skip to content

Commit

Permalink
Make more room for long values in DL
Browse files Browse the repository at this point in the history
Using flex box to be more flexible (pun intended) with long keys in the order summary.
  • Loading branch information
tvdeyen committed Apr 22, 2022
1 parent 6b712ee commit 6bff1c4
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,28 @@
}

dl {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
width: 100%;
overflow: hidden;
margin: 5px 0;
color: lighten($body-color, 15);

dt,
dd {
float: left;
min-width: 40%;
line-height: 16px;
padding: 5px;
}

dt {
width: 40%;
font-weight: $font-weight-bold;
padding-left: 0;
clear: left;
}

dd {
width: 60%;
text-align: right;
padding-right: 0;
margin-left: 0;
}
Expand Down

0 comments on commit 6bff1c4

Please sign in to comment.