Skip to content

Commit

Permalink
fixed button for mobile view
Browse files Browse the repository at this point in the history
  • Loading branch information
wafimohamed committed Dec 26, 2024
1 parent d56bb41 commit d9dbc4b
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/applications/edu-benefits/10216/config/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ import SubmissionInstructions from '../components/SubmissionInstructions';
const { date, dateRange } = commonDefinitions;

const subTitle = () => (
<div className="schemaform-subtitle vads-u-color--gray">
<p className="schemaform-subtitle">
35% Exemption Request from 85/15 Reporting Requirement (VA Form 22-10216)
</div>
</p>
);

let isAccredited = false;
Expand Down
8 changes: 5 additions & 3 deletions src/applications/edu-benefits/10216/containers/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ export default function App({ location, children }) {
);
});
return (
<RoutedSavableApp formConfig={formConfig} currentLocation={location}>
{children}
</RoutedSavableApp>
<div className="form-22-10216-container row">
<RoutedSavableApp formConfig={formConfig} currentLocation={location}>
{children}
</RoutedSavableApp>
</div>
);
}
App.propTypes = {
Expand Down
21 changes: 20 additions & 1 deletion src/applications/edu-benefits/10216/sass/10216-edu-benefits.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,23 @@
}
va-accordion-item[data-chapter="submissionInstructionsChapter"] {
display: none;
}
}

@media (max-width: $small-screen) {
.form-22-10216-container{
padding-inline: 0.5rem;
}
.form-22-10216-container .schemaform-buttons,
.form-22-10216-container .form-progress-buttons {
display: flex;
flex-direction: column !important;

div {
width: 100%;
}

div:first-of-type {
order: 2;
}
}
}

0 comments on commit d9dbc4b

Please sign in to comment.