Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
CocoByte committed Dec 17, 2024
1 parent 5504308 commit 6dbd183
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions src/registrar/assets/src/sass/_theme/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -272,4 +272,8 @@ abbr[title] {
margin: 0;
height: 1.5em;
width: 1.5em;
}

.maxw-fit-content {
max-width: fit-content;
}
6 changes: 3 additions & 3 deletions src/registrar/templates/domain_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
{% block title %}{{ domain.name }} | {% endblock %}

{% block content %}
<div class="grid-container">
<div class="grid-container grid-container--widescreen desktop:padding-left-6">

<div class="grid-row grid-gap">
<div class="tablet:grid-col-3">
<div class="tablet:grid-col-3 maxw-fit-content">
<p class="font-body-md margin-top-0 margin-bottom-2
text-primary-darker text-semibold domain-name-wrap"
>
Expand All @@ -20,7 +20,7 @@
</div>

<div class="tablet:grid-col-9">
<main id="main-content" class="grid-container">
<main id="main-content">
{% if not domain.domain_info %}
<div class="usa-alert usa-alert--error margin-bottom-2">
<div class="usa-alert__body">
Expand Down
2 changes: 1 addition & 1 deletion src/registrar/templates/domain_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{% endblock breadcrumb %}

{{ block.super }}
<div class="margin-top-4 tablet:grid-col-10">
<div class="margin-top-4 tablet:grid-col-10 maxw-fit-content">
<h2 class="text-bold text-primary-dark domain-name-wrap">{{ domain.name }}</h2>
<div
class="usa-summary-box dotgov-status-box padding-bottom-0 margin-top-3 padding-left-2{% if not domain.is_expired %}{% if domain.state == domain.State.UNKNOWN or domain.state == domain.State.DNS_NEEDED %} dotgov-status-box--action-need{% endif %}{% endif %}"
Expand Down

0 comments on commit 6dbd183

Please sign in to comment.