mirror of
https://github.com/google/blockly.git
synced 2026-04-27 07:30:21 +02:00
fix: Fix a bug that could cause menus to scroll incorrectly on mouseover (#9603)
* fix: Fix a bug that could cause menus to scroll incorrectly on mouseover * refactor: Simplify CSS
This commit is contained in:
@@ -452,17 +452,14 @@ input[type=number] {
|
||||
}
|
||||
|
||||
/* State: selected/checked. */
|
||||
.blocklyMenuItemCheckbox {
|
||||
height: 16px;
|
||||
position: absolute;
|
||||
width: 16px;
|
||||
}
|
||||
|
||||
.blocklyMenuItemSelected .blocklyMenuItemCheckbox {
|
||||
background: url(<<<PATH>>>/sprites.png) no-repeat -48px -16px;
|
||||
float: left;
|
||||
margin-left: -24px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
position: static; /* Scroll with the menu. */
|
||||
display: block;
|
||||
}
|
||||
|
||||
.blocklyMenuItemRtl .blocklyMenuItemCheckbox {
|
||||
|
||||
Reference in New Issue
Block a user