Skip to content

Using a Dropdown and Button in an Input Group Renders Incorrectly (Round #2) #2114

Closed
@lwchkg

Description

@lwchkg

This is a follow-up of #1560, that the fix is only halfway done.
URL with incorrect rendering: https://jsfiddle.net/e4oknxhz/

Proposed fix (JsFiddle: https://jsfiddle.net/av7jL0gr/1/):

.input-group > .input-group-prepend > .btn-group > .btn,
.input-group > .input-group-append:not(:last-child) > .btn-group > .btn,
.input-group > .input-group-append:last-child > .btn-group:not(:last-child):not(.dropdown-toggle) > .btn {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group > .input-group-append > .btn-group > .btn,
.input-group > .input-group-prepend:not(:first-child) > .btn-group > .btn,
.input-group > .input-group-prepend:first-child > .btn-group:not(:first-child) > .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions