clean text

This commit is contained in:
Nikita
2024-09-14 14:38:27 +03:00
parent 4038cbe0d7
commit 4ff9868e8e
4 changed files with 4 additions and 4 deletions

View File

@@ -20,7 +20,7 @@ interface LearningStateSelectorProps {
export const LearningStateSelector: React.FC<LearningStateSelectorProps> = ({ export const LearningStateSelector: React.FC<LearningStateSelectorProps> = ({
showSearch = true, showSearch = true,
defaultLabel = "Select state", defaultLabel = "State",
searchPlaceholder = "Search state...", searchPlaceholder = "Search state...",
value, value,
onChange, onChange,

View File

@@ -21,7 +21,7 @@ export const DescriptionInput: React.FC<DescriptionInputProps> = () => {
<TextareaAutosize <TextareaAutosize
{...field} {...field}
autoComplete="off" autoComplete="off"
placeholder="Description (optional)" placeholder="Description"
className="placeholder:text-muted-foreground/70 resize-none overflow-y-auto border-none p-1.5 text-[13px] font-medium shadow-none focus-visible:ring-0" className="placeholder:text-muted-foreground/70 resize-none overflow-y-auto border-none p-1.5 text-[13px] font-medium shadow-none focus-visible:ring-0"
/> />
</FormControl> </FormControl>

View File

@@ -231,7 +231,7 @@ export const LinkForm: React.FC<LinkFormProps> = ({
<TopicSelector <TopicSelector
{...field} {...field}
renderSelectedText={() => ( renderSelectedText={() => (
<span className="truncate">{selectedTopic?.prettyName || "Select a topic"}</span> <span className="truncate">{selectedTopic?.prettyName || "Topic"}</span>
)} )}
/> />
</FormItem> </FormItem>

View File

@@ -24,7 +24,7 @@ export const NotesSection: React.FC = () => {
<Input <Input
{...field} {...field}
autoComplete="off" autoComplete="off"
placeholder="Take a notes..." placeholder="Notes"
className={cn("placeholder:text-muted-foreground/70 border-none pl-8 shadow-none focus-visible:ring-0")} className={cn("placeholder:text-muted-foreground/70 border-none pl-8 shadow-none focus-visible:ring-0")}
/> />
</> </>