fix picker

This commit is contained in:
lingdocs 2022-08-02 16:45:08 -05:00
parent a3a0cd9319
commit 9f7d1def4c
3 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@lingdocs/pashto-inflector", "name": "@lingdocs/pashto-inflector",
"version": "3.6.9", "version": "3.7.0",
"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

@ -94,12 +94,12 @@ function AdjectiveManager(props: {
onChange={handleChange(i)} onChange={handleChange(i)}
/> />
</div>)} </div>)}
{/* {!adding && !props.adjectives.length && <h6 className="clickable" style={{ float: "right" }}> {!adding && !props.adjectives.length && <h6 className="clickable" style={{ float: "right" }}>
<div className="clickable" onClick={() => setAdding(true)}>+ Adj.</div> <div className="clickable" onClick={() => setAdding(true)}>+ Adj.</div>
</h6>} */}
{!addingDemonstrative && !props.demonstrative && <h6 className="clickable mr-2" style={{ float: "right" }}>
<div className="clickable" onClick={() => setAddingDemonstrative(true)}>+ Demons.</div>
</h6>} </h6>}
{/* {!addingDemonstrative && !props.demonstrative && <h6 className="clickable mr-2" style={{ float: "right" }}>
<div className="clickable" onClick={() => setAddingDemonstrative(true)}>+ Demons.</div>
</h6>} */}
</div>; </div>;
} }

View File

@ -149,7 +149,7 @@ function NPPronounPicker({ onChange, pronoun, role, opts, is2ndPersonPicker }: {
handleChange={(g) => handlePronounTypeChange(g as "far" | "near")} handleChange={(g) => handlePronounTypeChange(g as "far" | "near")}
/> />
<button className="btn btn-sm btn-outline-secondary" onClick={handleDisplayChange}> <button className="btn btn-sm btn-outline-secondary" onClick={handleDisplayChange}>
{display === "p" ? "PS" : display === "e" ? "PS" : "EN"} {display === "p" ? "PS" : "EN"}
</button> </button>
</div> </div>
<table className="table table-bordered table-sm" style={{ textAlign: "center", minWidth: "100px", tableLayout: "fixed" }}> <table className="table table-bordered table-sm" style={{ textAlign: "center", minWidth: "100px", tableLayout: "fixed" }}>