search

Home  >  Q&A  >  body text

javascript - angular-ui-bootstrap model How to adjust the position of the modal box

The project uses the modal box of the ui component ui-bootstrap provided by angular, but after it is triggered, it is displayed in the entire window. It is a little above the center and too close to the top. I want it to be displayed in the horizontal and vertical middle of the window. One thing, I don’t know what parameters to use

怪我咯怪我咯2709 days ago815

reply all(1)I'll reply

  • phpcn_u1582

    phpcn_u15822017-06-26 10:56:53

    After checking the relevant documents, it seems that there is no parameter to control the position. In the end, the position controlled by css was written to be centered. I wonder if other students have other solutions

    reply
    0
  • Cancelreply