mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-14 00:04:17 +09:00
Remove clickable padding from preview close button
This commit is contained in:
@@ -764,9 +764,8 @@ var Preview = Utils.defineClass({
|
||||
}
|
||||
}
|
||||
|
||||
closeButton.set_style('padding: ' + Math.max(closeButtonPadding, 0) + 'px;');
|
||||
|
||||
this._closeButtonBin.set_style(
|
||||
'padding: ' + Math.max(closeButtonPadding, 0) + 'px; ' +
|
||||
this._getBackgroundColor(HEADER_COLOR_OFFSET, headerHeight ? 1 : .6) +
|
||||
closeButtonBorderRadius
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user