@atlaskit/button
Version:
A button triggers an event or action. They let users know what will happen next.
22 lines (20 loc) • 583 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.overlayCss = void 0;
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
var overlayCss = exports.overlayCss = {
// stretching to full width / height of button
// this is important as we need it to still block
// event if clicking in the button's own padding
position: 'absolute',
left: 0,
top: 0,
right: 0,
bottom: 0,
// Putting all children in the center
display: 'flex',
justifyContent: 'center',
alignItems: 'center'
};