Skip to content

Commit

Permalink
Change worbasket action buttons styling
Browse files Browse the repository at this point in the history
  • Loading branch information
dalecannon committed Mar 14, 2024
1 parent 47ed7dc commit 8e2177b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
16 changes: 8 additions & 8 deletions common/jinja2/common/homepage.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -29,32 +29,32 @@
<div class="govuk-grid-column-one-half">
<a
href="{{ url('workbaskets:workbasket-ui-create') }}"
class="govuk-button govuk-button--secondary govuk-"
>Create a workbasket</a>
class="govuk-button homepage-workbasket-action"
>Create a <br> workbasket</a>
</div>

<div class="govuk-grid-column-one-half">
<a
href="{{ url('workbaskets:workbasket-ui-list') }}"
class="govuk-button govuk-button--secondary"
>Edit a workbasket</a>
class="govuk-button homepage-workbasket-action"
>Edit a <br> workbasket</a>
</div>
{% endif %}

{% if can_manage_packaging %}
<div class="govuk-grid-column-one-half">
<a
href="{{ url('publishing:packaged-workbasket-queue-ui-list') }}"
class="govuk-button govuk-button--secondary"
>Package a workbasket</a>
class="govuk-button homepage-workbasket-action"
>Package <br> workbaskets</a>
</div>
{% endif %}

<div class="govuk-grid-column-one-half">
<a
href="{{ url('workbaskets:workbasket-ui-list-all') }}"
class="govuk-button govuk-button--secondary"
>Search for workbaskets</a>
class="govuk-button homepage-workbasket-action"
>Search for <br> workbaskets</a>
</div>
</div>
</article>
Expand Down
6 changes: 4 additions & 2 deletions common/static/common/scss/_components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,6 @@
}

#current-workbasket {
display: inline-block;

a, form {
display: inline-block;
}
Expand Down Expand Up @@ -155,3 +153,7 @@
height: 48px;
}
}

.homepage-workbasket-action {
width: 100%;
}

0 comments on commit 8e2177b

Please sign in to comment.