Skip to content

Adjusting height of InputGroup #5879

Answered by adidahiya
Redirts asked this question in Q&A
Discussion options

You must be logged in to vote

In order to respect the UI guidelines for our app we need to adjust the height of the InputGroup boxes so that their height is higher than the default height.

Given that you wish to deviate from the Blueprint design guidelines, you will need to do some more work to customize all the input styling to support your use case. Unfortunately we cannot guarantee that there will not be breaking changes in Blueprint's CSS styles if you do so. Instead of using style={{ height: ... }}, I would recommend creating a custom class, e.g. .my-tall-blueprint-input:

.my-tall-blueprint-input-group {
  > .bp3-icon:first-child {
    height: 100%;
    margin: 0;
    padding: 17px 5px;
  }

  // more customiza…

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by adidahiya
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
3 participants
Converted from issue

This discussion was converted from issue #3995 on January 24, 2023 15:11.