angular-multi-select icon indicating copy to clipboard operation
angular-multi-select copied to clipboard

broken css rule(.multiSelect .buttonClicked)

Open bolemeus opened this issue 10 years ago • 0 comments

The following css rule seems broken.

I'm migrating from version 2.0.2 to 4.0.0 and I just noticed that the following css rule is broken.

/* button: clicked */
.multiSelect .buttonClicked {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
}

The reason for this is that the buttonClicked class is being added to the .multiSelect wrapper. Before the buttonClicked class would be added to the button itself.

The corrected css is:

.multiSelect.buttonClicked > button {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
}

bolemeus avatar Dec 18 '15 15:12 bolemeus