Merged PR 2268: adjusted styling tto center vertically dynamically

adjusted styling tto center vertically dynamically

Related work items: #22659
This commit is contained in:
Robert Bond
2026-04-23 04:59:06 +00:00
parent 7a14b7e8c9
commit 43e37dc844
2 changed files with 8 additions and 4 deletions
+2 -2
View File
@@ -46,10 +46,10 @@ export default function AIPolicyNotice() {
return (
<div
className="modal fade show"
className="modal aiModal fade show"
style={{
display: "flex",
alignItems: "top",
alignItems: "center",
justifyContent: "center",
padding: "1rem"
}}
+6 -2
View File
@@ -2671,8 +2671,12 @@ dd.govuk-summary-list__value.govuk-\!-font-size-14.govuk-summary-list__action {
outline: 0;
top: 30%;
@media screen and (min-width: 768px) {
top: 35%;
&.aiModal {
top: calc(5%);
@media screen and (min-width: 768px) {
top: calc(5%)
}
}
}