From c3179b4304970c2dad69e686ebb9f6cc04048875 Mon Sep 17 00:00:00 2001 From: Pau Perez Date: Mon, 22 Feb 2021 12:06:19 +0100 Subject: [PATCH] Restore table's top rounded corners --- app/assets/stylesheets/darkswarm/account.scss | 10 ++++++++-- app/views/spree/users/_transactions.html.haml | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/darkswarm/account.scss b/app/assets/stylesheets/darkswarm/account.scss index 772a87cb2f..d73e4b7367 100644 --- a/app/assets/stylesheets/darkswarm/account.scss +++ b/app/assets/stylesheets/darkswarm/account.scss @@ -143,8 +143,14 @@ } } -table.full { - width: 100%; +table { + &.full { + width: 100%; + } + + &.top-rounded { + border-radius: $radius-medium $radius-medium 0 0; + } } // Note this relies on the using `.show-for-large-up` as well. diff --git a/app/views/spree/users/_transactions.html.haml b/app/views/spree/users/_transactions.html.haml index b6e6b8c36c..75c479aada 100644 --- a/app/views/spree/users/_transactions.html.haml +++ b/app/views/spree/users/_transactions.html.haml @@ -2,7 +2,7 @@ - if @payments_requiring_action.present? .active_table.requiring-authorization %h3= t(".authorization_required") - %table.full + %table.full.top-rounded %tr %th= t :transaction %th= t :transaction_date