PR suggestions

This commit is contained in:
zandercymatics 2024-06-10 13:55:20 -06:00
parent 70fac1d719
commit 13d0b247fe
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
3 changed files with 4 additions and 3 deletions

View file

@ -762,7 +762,7 @@ div.dja__model-description{
color: #{$dhs-blue-60};
}
.analytics-button-group {
.wrapped-button-group {
// This button group has too many items
flex-wrap: wrap;
// Fix a weird spacing issue with USWDS a buttons in DJA

View file

@ -27,7 +27,7 @@
<div class="module height-full">
<h2>Current domains</h2>
<div class="padding-top-2 padding-x-2">
<ul class="usa-button-group analytics-button-group">
<ul class="usa-button-group wrapped-button-group">
<li class="usa-button-group__item">
<a href="{% url 'export_data_type' %}" class="button text-no-wrap" role="button">
<svg class="usa-icon" aria-hidden="true" focusable="false" role="img" width="24" height="24">

View file

@ -817,7 +817,8 @@ class DomainRequestExport:
# Annotations are custom columns returned to the queryset (AKA: computed in the DB).
annotations = cls._full_domain_request_annotations()
# .values can't go two levels deep (just returns the id) - so we have to include this.
# The .values returned from annotate_and_retrieve_fields can't go two levels deep
# (just returns the field id of say, "creator") - so we have to include this.
additional_values = [
"requested_domain__name",
"federal_agency__agency",