     alertView.centerYAnchor.constraint(equalTo: backgroundView.centerYAnchor, constant: 100).isActive = true
     alertView.centerXAnchor.constraint(equalTo: backgroundView.centerXAnchor).isActive = true
     //alertView.widthAnchor.constraint(equalToConstant: Dimension.width).isActive = true
-    alertViewWidth = alertView.widthAnchor.constraint(equalToConstant: Dimension.width)
+    alertViewWidth = alertView.widthAnchor.constraint(equalToConstant: Dimension.width(from: view.bounds.size))
     alertViewWidth?.isActive = true
     alertViewHeight = alertView.heightAnchor.constraint(lessThanOrEqualToConstant: view.bounds.height - 80)
     alertViewHeight?.isActive = true

    textview.isScrollEnabled = false
    textview.isSelectable = false
    textview.bounces = false
    textview.setContentCompressionResistancePriority(UILayoutPriority.defaultHigh, for: .vertical)
    
    return textview
  }()

      messageTextView.text = newValue
      
      guard let _ = newValue, let constraint = messageTextViewHeightConstraint else { return }
      
      messageLabelHeight = 20.0
      messageTextView.removeConstraint(constraint)
      messageTextViewHeightConstraint = messageTextView.heightAnchor.constraint(greaterThanOrEqualToConstant: messageLabelHeight)
