Skip to content

Commit

Permalink
Merge pull request #1276 from openedx/saleem-latif/ENT-8186-update
Browse files Browse the repository at this point in the history
fix: Fixed a small UI inconsistency.
  • Loading branch information
saleem-latif authored Aug 21, 2024
2 parents 9c9773e + 1244bce commit 7ac9d86
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
48 changes: 24 additions & 24 deletions src/components/Admin/__snapshots__/Admin.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1576,10 +1576,10 @@ exports[`<Admin /> renders correctly with dashboard analytics data renders # cou
className="col"
>
<div
className="row pb-3"
className="row pb-3 mt-2"
>
<div
className="col-12 col-md-6 col-xl-8"
className="col-12 col-md-12 col-xl-12"
>
<button
className="download-btn d-sm-inline float-md-right btn btn-outline-primary"
Expand Down Expand Up @@ -3121,10 +3121,10 @@ exports[`<Admin /> renders correctly with dashboard analytics data renders # of
className="col"
>
<div
className="row pb-3"
className="row pb-3 mt-2"
>
<div
className="col-12 col-md-6 col-xl-8"
className="col-12 col-md-12 col-xl-12"
>
<button
className="download-btn d-sm-inline float-md-right btn btn-outline-primary"
Expand Down Expand Up @@ -4666,10 +4666,10 @@ exports[`<Admin /> renders correctly with dashboard analytics data renders # of
className="col"
>
<div
className="row pb-3"
className="row pb-3 mt-2"
>
<div
className="col-12 col-md-6 col-xl-8"
className="col-12 col-md-12 col-xl-12"
>
<button
className="download-btn d-sm-inline float-md-right btn btn-outline-primary"
Expand Down Expand Up @@ -6211,10 +6211,10 @@ exports[`<Admin /> renders correctly with dashboard analytics data renders colla
className="col"
>
<div
className="row pb-3"
className="row pb-3 mt-2"
>
<div
className="col-12 col-md-6 col-xl-8"
className="col-12 col-md-12 col-xl-12"
>
<button
className="download-btn d-sm-inline float-md-right btn btn-outline-primary"
Expand Down Expand Up @@ -7756,10 +7756,10 @@ exports[`<Admin /> renders correctly with dashboard analytics data renders full
className="col"
>
<div
className="row pb-3"
className="row pb-3 mt-2"
>
<div
className="col-12 col-md-6 col-xl-8"
className="col-12 col-md-12 col-xl-12"
>
<button
className="download-btn d-sm-inline float-md-right btn btn-outline-primary"
Expand Down Expand Up @@ -9301,10 +9301,10 @@ exports[`<Admin /> renders correctly with dashboard analytics data renders inact
className="col"
>
<div
className="row pb-3"
className="row pb-3 mt-2"
>
<div
className="col-12 col-md-6 col-xl-8"
className="col-12 col-md-12 col-xl-12"
>
<button
className="download-btn d-sm-inline float-md-right btn btn-outline-primary"
Expand Down Expand Up @@ -10846,10 +10846,10 @@ exports[`<Admin /> renders correctly with dashboard analytics data renders inact
className="col"
>
<div
className="row pb-3"
className="row pb-3 mt-2"
>
<div
className="col-12 col-md-6 col-xl-8"
className="col-12 col-md-12 col-xl-12"
>
<button
className="download-btn d-sm-inline float-md-right btn btn-outline-primary"
Expand Down Expand Up @@ -12391,10 +12391,10 @@ exports[`<Admin /> renders correctly with dashboard analytics data renders learn
className="col"
>
<div
className="row pb-3"
className="row pb-3 mt-2"
>
<div
className="col-12 col-md-6 col-xl-8"
className="col-12 col-md-12 col-xl-12"
>
<button
className="download-btn d-sm-inline float-md-right btn btn-outline-primary"
Expand Down Expand Up @@ -13936,10 +13936,10 @@ exports[`<Admin /> renders correctly with dashboard analytics data renders regis
className="col"
>
<div
className="row pb-3"
className="row pb-3 mt-2"
>
<div
className="col-12 col-md-6 col-xl-8"
className="col-12 col-md-12 col-xl-12"
>
<button
className="download-btn d-sm-inline float-md-right btn btn-outline-primary"
Expand Down Expand Up @@ -15481,10 +15481,10 @@ exports[`<Admin /> renders correctly with dashboard analytics data renders top a
className="col"
>
<div
className="row pb-3"
className="row pb-3 mt-2"
>
<div
className="col-12 col-md-6 col-xl-8"
className="col-12 col-md-12 col-xl-12"
>
<button
className="download-btn d-sm-inline float-md-right btn btn-outline-primary"
Expand Down Expand Up @@ -17075,10 +17075,10 @@ exports[`<Admin /> renders correctly with dashboard insights data renders dashbo
className="col"
>
<div
className="row pb-3"
className="row pb-3 mt-2"
>
<div
className="col-12 col-md-6 col-xl-8"
className="col-12 col-md-12 col-xl-12"
>
<button
className="download-btn d-sm-inline float-md-right btn btn-outline-primary"
Expand Down Expand Up @@ -20342,10 +20342,10 @@ exports[`<Admin /> renders correctly with no dashboard insights data 1`] = `
className="col"
>
<div
className="row pb-3"
className="row pb-3 mt-2"
>
<div
className="col-12 col-md-6 col-xl-8"
className="col-12 col-md-12 col-xl-12"
>
<button
className="download-btn d-sm-inline float-md-right btn btn-outline-primary"
Expand Down
4 changes: 2 additions & 2 deletions src/components/Admin/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -521,8 +521,8 @@ class Admin extends React.Component {
<div className="col">
{!error && !loading && !this.hasEmptyData() && (
<>
<div className="row pb-3">
<div className="col-12 col-md-6 col-xl-8">
<div className="row pb-3 mt-2">
<div className="col-12 col-md-12 col-xl-12">
{this.renderDownloadButton()}
</div>
</div>
Expand Down

0 comments on commit 7ac9d86

Please sign in to comment.