Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 7 additions & 14 deletions core/css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,13 @@ let content = `
z-index: -1;
background-color: inherit;
border-color: inherit;
border-bottom: 1px solid;
border-right: 1px solid;
border-bottom-right-radius: 4px;
border-color: inherit;
border-top: 1px solid;
border-left: 1px solid;
border-top-left-radius: 4px;
}

.blocklyDropDownButton {
Expand All @@ -153,20 +160,6 @@ let content = `
cursor: pointer;
}

.blocklyArrowTop {
border-top: 1px solid;
border-left: 1px solid;
border-top-left-radius: 4px;
border-color: inherit;
}

.blocklyArrowBottom {
border-bottom: 1px solid;
border-right: 1px solid;
border-bottom-right-radius: 4px;
border-color: inherit;
}

.blocklyResizeSE {
cursor: se-resize;
fill: #aaa;
Expand Down
4 changes: 1 addition & 3 deletions core/dropdowndiv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -712,9 +712,7 @@ function positionInternal(
'px) rotate(45deg)';
arrow.setAttribute(
'class',
metrics.arrowAtTop
? 'blocklyDropDownArrow blocklyArrowTop'
: 'blocklyDropDownArrow blocklyArrowBottom',
metrics.arrowAtTop ? 'blocklyDropDownArrow' : 'blocklyDropDownArrow',
);
} else {
arrow.style.display = 'none';
Expand Down