Skip to content

Commit

Permalink
ReadPanel alignment issues (#1756)
Browse files Browse the repository at this point in the history
This style makes the table take up 100% of the width of the component
and aligns the price to the right. This maximises the space between
the label and the price.

Fixes: #1752
  • Loading branch information
jdlrobson authored and mekarpeles committed Dec 24, 2018
1 parent 3acd588 commit b5d8285
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions static/css/components/read-panel.less
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@
li {
margin: 5px 10px 0;
}
table {
width: 100%;
td {
text-align: left;
&.price {
text-align: right;
}
}
}
}
// For the button at the top
@import (less) "components/buttonCta.less";
Expand Down

0 comments on commit b5d8285

Please sign in to comment.