Skip to content

Commit

Permalink
Adjust layout
Browse files Browse the repository at this point in the history
  • Loading branch information
jochenklar committed Jun 27, 2024
1 parent b403ca5 commit fb3d0f3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion daiquiri/core/assets/js/components/Table.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const Table = ({ columns, rows, pageSizes, params, setParams }) => {
const pageCount = rows.count / params.page_size

return show && (
<div className="dq-table">
<div className="dq-table mb-3">
<TableHeader
pageCount={pageCount}
params={params}
Expand Down
2 changes: 1 addition & 1 deletion daiquiri/core/assets/js/components/TableFooter.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const TableFooter = ({ rowCount, pageCount, pageSizes, params, setParams }) => {

return (
<div className="dq-table-footer d-md-flex mt-3">
<p className="flex-grow-1 mt-1 mb-1">
<p className="flex-grow-1 mt-md-1 mb-md-1 mb-2">
{
params.search ? (
interpolate(gettext('Page %s of %s (%s rows total, filtering for "%s")'),
Expand Down
4 changes: 2 additions & 2 deletions daiquiri/query/assets/js/query/components/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ const App = () => {
<h1 className="mb-4">Query interface</h1>

<div className="row">
<div className="col-sm-3">
<div className="col-lg-3 order-2 order-lg-1">
<Status />
<Forms formKey={state.formKey} loadForm={loadForm} />
<Jobs jobId={state.jobId} loadJob={loadJob} />
</div>
<div className="col-sm-9">
<div className="col-lg-9 order-1 order-lg-2">
{
state.jobId && <Job jobId={state.jobId} />
}
Expand Down

0 comments on commit fb3d0f3

Please sign in to comment.