F
F
FastClick2021-12-13 08:06:48
css
FastClick, 2021-12-13 08:06:48

How to correctly style the Alert cursor?

There is a code:

spoiler
<Alert
                    actionsLayout="vertical"
                    className={`classPointer`}
                    actions={
                        [
                            {
                                title: 'Да, удалить!',
                                autoclose: true,
                                mode: 'destructive',
                                action: () => this.delete(),
                            }, {
                                title: 'Отмена',
                                autoclose: true,
                                mode: 'cancel'
                            }
                        ]
                    }
                    onClose={this.close}
                >
                    <h2>ТОЧНО?</h2>
                    <p>Удалить файл?</p>
                </Alert>


KAx8glLHV49lyA.png

How to correctly set the style for it, so that when you hover over the buttons (actions), it will be of type pointer?

.classPointer {
    cursor: pointer!important
}

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Danny Arty, 2021-12-13
@FastClick

.classPointer button {
  cursor: pointer;
}

A
alaskafx, 2021-12-13
@alaskafx

You can see all cursor "styles" here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question