Skip to content

Commit

Permalink
MLPAB-1450 Remove dashboard tab borders, tab title, and text for star…
Browse files Browse the repository at this point in the history
…t new (#866)
  • Loading branch information
hawx authored Nov 21, 2023
1 parent 86646ef commit e01e317
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
3 changes: 1 addition & 2 deletions lang/cy.json
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@
"onceConfirmedNotAbleToMakeChanges": "Ar ôl i chi ddewis y botwm cadarnhau, ni fyddwch yn gallu gwneud mwy o newidiadau.",
"canYouSignYourselfOnline": "Allwch chi lofnodi’r atwrneiaeth arhosol eich hun ar-lein?",
"canYouSignYourselfGuidance": "Pan fydd hi’n amser i chi lofnodi eich atwrneiaeth arhosol, rhaid i chi ddewis 2 flwch er mwyn ei llofnodi ar-lein. Rhaid i chi allu gwneud hyn eich hun, hyd yn oed os oes rhywun yn eich helpu i wneud eich atwrneiaeth arhosol.",
"iDontKnow": "Welsh",
"iDontKnow": "Dydw i ddim yn gwybod",
"yesIfCanSign": "Welsh",
"evidenceRequired": "Welsh",
"checkThatYouCanSignYourLpa": "Gwneud yn siŵr eich bod yn gallu llofnodi eich atwrneiaeth arhosol",
Expand Down Expand Up @@ -833,7 +833,6 @@
"readyToSign": "Welsh",
"lpaNumber": "Welsh",
"makeNewLpa": "Welsh",
"youCanMakeNewLpa": "Welsh",
"startNow": "Welsh",
"youCanIncludeRestrictionsAboutLst": "Gallwch hefyd gynnwys unrhyw gyfyngiadau ac amodau sydd gennych am thriniaeth cynnal bywyd.",
"youMustChooseANewCertificateProvider": "Welsh",
Expand Down
1 change: 0 additions & 1 deletion lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,6 @@
"readyToSign": "Ready to sign",
"lpaNumber": "LPA number",
"makeNewLpa": "Make a new lasting power of attorney (LPA)",
"youCanMakeNewLpa": "You can make a new LPA for yourself.",
"startNow": "Start now",
"youCanIncludeRestrictionsAboutLst": "You can also include any restrictions and conditions you have about life-sustaining treatment.",
"youMustChooseANewCertificateProvider": "You must choose a different certificate provider",
Expand Down
8 changes: 8 additions & 0 deletions web/assets/scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,14 @@ body:not(.js-enabled) .govuk-back-link {
color: $govuk-link-colour;
}

.app-tabs-no-border .govuk-tabs__panel {
border-left: none;
border-bottom: none;
border-right: none;
padding-left: 0;
padding-right: 0;
}

@media print {
.app-hide-print {
display: none !important;
Expand Down
4 changes: 1 addition & 3 deletions web/template/dashboard.gohtml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@

<div class="app-dashboard-card app-dashboard-card--dashed">
<p class="govuk-heading-m">{{ tr .App "makeNewLpa" }}</p>
<p class="govuk-body">{{ tr .App "youCanMakeNewLpa" }}</p>
<form novalidate method="post">
<button type="submit" class="govuk-button" data-module="govuk-button">{{ tr .App "startNow" }}</button>
{{ template "csrf-field" . }}
Expand All @@ -165,8 +164,7 @@
<div class="govuk-grid-row govuk-!-margin-top-4">
<div class="govuk-grid-column-full">
{{ if .UseTabs }}
<div class="govuk-tabs" data-module="govuk-tabs">
<h2 class="govuk-tabs__title">{{ tr .App "yourLpas" }}</h2>
<div class="govuk-tabs app-tabs-no-border" data-module="govuk-tabs">
<ul class="govuk-tabs__list">
{{ if .DonorLpas }}
<li class="govuk-tabs__list-item govuk-tabs__list-item--selected">
Expand Down

0 comments on commit e01e317

Please sign in to comment.