From 0df1e7202a0c5a4daaf46e923536fe190dbe4d9a Mon Sep 17 00:00:00 2001 From: Leo Singer Date: Sun, 18 Feb 2024 21:06:57 -0500 Subject: [PATCH] Fix disclosure arrows not showing up on mobile We were reusing the disclosure arrows from [usa-banner](https://designsystem.digital.gov/components/banner/) which employ absolute positioning on tablet and smaller screen sizes. Fixes #1940. --- .../CircularEditForm.tsx | 33 ++++++++++++++----- 1 file changed, 24 insertions(+), 9 deletions(-) diff --git a/app/routes/_gcn.circulars.edit.$circularId/CircularEditForm.tsx b/app/routes/_gcn.circulars.edit.$circularId/CircularEditForm.tsx index e4b4a0721..825efb857 100644 --- a/app/routes/_gcn.circulars.edit.$circularId/CircularEditForm.tsx +++ b/app/routes/_gcn.circulars.edit.$circularId/CircularEditForm.tsx @@ -214,15 +214,22 @@ export function CircularEditForm({ The subject line must contain (and should start with) the name of the transient, which must start with one of the{' '} - - . + + known keywords  + {showKeywords ? ( + + ) : ( + + )} + + {showKeywords && (
@@ -286,14 +293,22 @@ export function CircularEditForm({ style guide. References to Circulars, DOIs, arXiv preprints, and transients are automatically shown as links; see{' '} - + + syntax  + {showBodySyntax ? ( + + ) : ( + + )} + +
{showBodySyntax && (