Skip to content

Fixed checked button double right border in control group#1723

Merged
tadatuta merged 1 commit intobem:v2from
GreLI:fixcgchecking
Nov 19, 2015
Merged

Fixed checked button double right border in control group#1723
tadatuta merged 1 commit intobem:v2from
GreLI:fixcgchecking

Conversation

@GreLI
Copy link
Contributor

@GreLI GreLI commented Nov 16, 2015

Checked button in a control group has double right border due to right: 1px in button_theme_islands.styl#L337. The rule seems to be excessive, so this PR removes it.

checked-double-border-bug

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry, we don't have code style checks for .styl :-/ could you move { to next line, plz?

@veged
Copy link
Member

veged commented Nov 18, 2015

LGTM

cc @tadatuta @mishanga check one more time plz

@mishanga
Copy link
Member

В примере с bem.info всё хорошо: https://ru.bem.info/__example/bem-components/v2.3.0/desktop.examples/control-group/SIDLOhtJXNjeWe8RRuaqlvxv5KY/SIDLOhtJXNjeWe8RRuaqlvxv5KY.html
Вангую баг в CSSO.

@GreLI
Copy link
Contributor Author

GreLI commented Nov 18, 2015

В примере всё хорошо, потому что там checkbox. Ссылка на пример с button: http://jsfiddle.net/y7tz2d4m/

@GreLI
Copy link
Contributor Author

GreLI commented Nov 18, 2015

Что-то я загоняюсь, в чекбоксе тоже кнопки, но в чём разница не пойму.

@GreLI
Copy link
Contributor Author

GreLI commented Nov 18, 2015

Нашёл соответствующее правило, добавил новое для общего случая. PR обновлён.
Стало хорошо: http://jsfiddle.net/y7tz2d4m/1/

@tadatuta
Copy link
Member

lgtm

@tadatuta
Copy link
Member

Fixes #1696

@voischev
Copy link
Member

🔥

tadatuta added a commit that referenced this pull request Nov 19, 2015
Fixed checked button double right border in control group
@tadatuta tadatuta merged commit 0aea1f5 into bem:v2 Nov 19, 2015
@GreLI GreLI deleted the fixcgchecking branch November 19, 2015 18:30
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

Successfully merging this pull request may close these issues.

5 participants