Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

input text field not long enough #492

Closed
3 of 8 tasks
MMoMM-org opened this issue Jan 8, 2025 · 2 comments
Closed
3 of 8 tasks

input text field not long enough #492

MMoMM-org opened this issue Jan 8, 2025 · 2 comments

Comments

@MMoMM-org
Copy link

Please fill out these Check-boxes

  • I checked for existing similar issues
  • I checked that the plugin is up to date
  • The issue persists with all other plugins and themes disabled

Plugin Version

1.2.5

This Issue Occurs on

  • Windows
  • Linux
  • macOS
  • Android
  • iOS

Debug Info

nothing to see here

Describe the Issue

If I use an input text field the size of it is very short, approx 20 characters(?). I would like to know if I can change the size of the input box via CSS and if yes how this can be accomplished.

Steps to Reproduce

Create a frontmatter value with a lot of text.
use an input text field to display / change the frontmatter value

Expected Behavior

Either:

  • automatically resize for text length
  • use full reading lenght / window widht
  • make the size configurable
@MMoMM-org MMoMM-org added the bug Undesired behavior caused by this plugin label Jan 8, 2025
@mProjectsCode
Copy link
Owner

Changing the size of an input field is similar to what is described here. Instead of progress bars you need to target text fields and instead of changing the color you need to change the size.

This is not a bug report, but a question. Please use the discussions or the thread on the official Obsidian Discord server for questions.

@mProjectsCode mProjectsCode removed the bug Undesired behavior caused by this plugin label Jan 8, 2025
@MMoMM-org
Copy link
Author

together with perplexity I succeeded:
.mb-input-type-text.large > input { width: 100% !important; }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants