diff --git a/make_post_sell/static/css/common.css b/make_post_sell/static/css/common.css index 378c156..48f086b 100644 --- a/make_post_sell/static/css/common.css +++ b/make_post_sell/static/css/common.css @@ -1574,6 +1574,19 @@ div.edit-page > section.edit-card-full { grid-column: 1 / -1; } +/* Render order on the edit page (CSS order property reorders without + changing HTML source order): + 1. Edit Title, Description, or Visibility (full width, top) + 2. Upload Product File (left column) + 3. Upload Preview File (right column, sibling of Upload Product) + 4. Upload Thumbnails (full width) + 5. Price History (whatever comes last) */ +div.edit-page > section.product-title-and-description { order: 1; } +div.edit-page > section.upload-product-and-preview { order: 2; } +div.edit-page > section.upload-preview { order: 3; } +div.edit-page > section.upload-thumbnails { order: 4; } +div.edit-page > section.price-history { order: 5; } + /* Thumbnails header laid out via .upload-thumbnails-header flex row above the .upload-thumbnails-grid (see below). */ diff --git a/make_post_sell/templates/product_edit.j2 b/make_post_sell/templates/product_edit.j2 index f3cd8e2..5da01e2 100644 --- a/make_post_sell/templates/product_edit.j2 +++ b/make_post_sell/templates/product_edit.j2 @@ -147,19 +147,19 @@ - {% if product.is_sellable %} + {% endif %} -
People may download this file before making a purchase.
{% if "preview" in product.originals %}Current File: {{ product.originals["preview"] }}
@@ -191,11 +191,8 @@