richie-education 2.25.0-b2.dev173 → 2.25.0-b2.dev174

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -111,7 +111,6 @@ const PurchaseButton = ({
111
111
  {!disabled && (
112
112
  <>
113
113
  <Button
114
- size="small"
115
114
  data-testid="PurchaseButton__cta"
116
115
  className={c('purchase-button__cta', className)}
117
116
  onClick={() => hasAtLeastOneCourseRun && setIsSaleTunnelOpen(true)}
@@ -62,7 +62,7 @@ const CourseProductItemFooter = ({
62
62
  orderGroup={orderGroup}
63
63
  buttonProps={{ fullWidth: true }}
64
64
  />
65
- <p>
65
+ <p className="product-widget__footer__message">
66
66
  <FormattedMessage
67
67
  {...messages.nbSeatsAvailable}
68
68
  values={{ nb: orderGroup.nb_available_seats }}
@@ -143,14 +143,19 @@
143
143
  gap: 0.5rem;
144
144
 
145
145
  &__message {
146
+ color: r-theme-val(product-item, base-color);
146
147
  text-align: center;
147
148
  }
148
149
 
149
150
  &__order-group {
150
151
  text-align: center;
151
152
 
152
- p {
153
- margin-top: 0.25rem;
153
+ .product-widget__footer__message {
154
+ margin: 0.5rem 0;
155
+ }
156
+
157
+ &:last-child {
158
+ margin-bottom: -1rem;
154
159
  }
155
160
  }
156
161
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "richie-education",
3
- "version": "2.25.0-b2.dev173",
3
+ "version": "2.25.0-b2.dev174",
4
4
  "description": "A CMS to build learning portals for Open Education",
5
5
  "main": "sandbox/manage.py",
6
6
  "scripts": {