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

select input in form group #59

Closed
azazel75 opened this issue Mar 19, 2021 · 2 comments
Closed

select input in form group #59

azazel75 opened this issue Mar 19, 2021 · 2 comments
Labels

Comments

@azazel75
Copy link
Sponsor

Hello,

I've tried to use a select input in a form-group (small). From what I see in the core/form.scss there's no explicit support for it. Nonetheless I've tried to style it, but I always takes a "full" height. I don't know what I'm missing.... Could you share some enlightenment?

Attached to this you can find screenshot on my problem, specifically the element in the middle after the table, where I use the select to choose the number of elements per page.
select_issue

Thanks for Cirrus

@azazel75
Copy link
Sponsor Author

better
I got it better mostly by applying a different flex on the label:

.form-group > label.form-group-label {
    flex: 0 0 auto;
    overflow: hidden;
}

.form-group > select.form-group-input {
    flex: 1 0 content;
	padding: .25rem 1rem;
	font-size: 70%;
}

@Spiderpig86
Copy link
Owner

Hi!

Thanks for supporting the project and sorry for the late response. I am able to reproduce the issue with a simple snippet.

<div class="form-group">
	<label class="form-group-label label-xsmall">github.com/</label>
	<select type="text" class="form-group-input input-xsmall" placeholder="Extra Small"></select>
	<button class="form-group-btn btn-primary btn-xsmall">Go</button>
</div>

I believe you have found a bug that needs to be fixed. I'll get this on the roadmap for 0.6.2. Given that I have been a bit busier than usual, it may take some time.

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

No branches or pull requests

2 participants