diff --git a/app/assets/stylesheets/components/_btn.scss b/app/assets/stylesheets/components/_btn.scss index 1dc3931c09a..0269f43684a 100644 --- a/app/assets/stylesheets/components/_btn.scss +++ b/app/assets/stylesheets/components/_btn.scss @@ -35,6 +35,13 @@ } } +.usa-button:not([class*='margin-']) { + // Temporary: To be backported to design system. Margins should be applied at the button element, + // or at the very least (a) we don't want the margins to offset full-width buttons on mobile, and + // (b) the default margin would not be large enough on its own. + margin-right: 0; +} + .usa-button.usa-button--unstyled:visited { // Temporary: Links in the IdP do not currently conform to the design system and instead retain // their color even if visited. Part of the work of LG-3877 should be to remove these styles, and @@ -53,6 +60,11 @@ } .usa-button--unstyled { + // Temporary: To be backported to design system. Unstyled buttons should inherit the appearance + // of a link. + display: inline; + width: auto; + &:hover, &:active { // Temporary: These styles should be ported upstream to the design system, optionally as part of diff --git a/app/assets/stylesheets/components/_spinner-button.scss b/app/assets/stylesheets/components/_spinner-button.scss index cad1be060b1..91d45fb2375 100644 --- a/app/assets/stylesheets/components/_spinner-button.scss +++ b/app/assets/stylesheets/components/_spinner-button.scss @@ -19,7 +19,9 @@ } .spinner-button { - display: inline-block; + @include at-media('mobile-lg') { + display: inline-block; + } } .spinner-button--spinner-active { diff --git a/app/javascript/packages/document-capture/components/acuant-capture.jsx b/app/javascript/packages/document-capture/components/acuant-capture.jsx index 8e728e8e3f3..b961e578781 100644 --- a/app/javascript/packages/document-capture/components/acuant-capture.jsx +++ b/app/javascript/packages/document-capture/components/acuant-capture.jsx @@ -396,6 +396,7 @@ function AcuantCapture(
<% link = link_to(t('notices.use_diff_email.link'), add_email_path) %>
diff --git a/app/views/users/forget_all_browsers/show.html.erb b/app/views/users/forget_all_browsers/show.html.erb index 86cc5414c67..359a0809220 100644 --- a/app/views/users/forget_all_browsers/show.html.erb +++ b/app/views/users/forget_all_browsers/show.html.erb @@ -8,7 +8,7 @@ <%= t('account.forget_all_browsers.longer_description') %> -<%= button_to(t('forms.buttons.confirm'), forget_all_browsers_path, method: 'delete', class: 'usa-button usa-button--big margin-top-4') %> +<%= button_to(t('forms.buttons.confirm'), forget_all_browsers_path, method: 'delete', class: 'usa-button usa-button--wide usa-button--big margin-top-4') %>