fixed bug with padding on AP block

This commit is contained in:
lingdocs 2022-06-11 17:37:03 -04:00
parent 46c8c815f2
commit 7eb5ad9560
2 changed files with 2 additions and 7 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@lingdocs/pashto-inflector", "name": "@lingdocs/pashto-inflector",
"version": "2.9.0", "version": "2.9.1",
"author": "lingdocs.com", "author": "lingdocs.com",
"description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations", "description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations",
"homepage": "https://verbs.lingdocs.com", "homepage": "https://verbs.lingdocs.com",

View File

@ -162,12 +162,7 @@ export function APBlock({ opts, children, english }: {
{ap.selection.ps[0].f} {ap.selection.ps[0].f}
</div> </div>
<div>AP</div> <div>AP</div>
{english && <div className="small text-muted text-center" style={{ <EnglishBelow>{english}</EnglishBelow>
// TODO: find a better way to keep this limited to the width of the div above
// don't let this make the div above expand
margin: "0 auto",
maxWidth: "300px",
}}>{english}</div>}
</div>; </div>;
} }
return <div> return <div>