                     containerView.topAnchor.constraint(equalTo: self.topAnchor),
                     leftMarginConstraint,
                     containerView.widthAnchor.constraint(equalToConstant: containerWidth),
-                    containerView.heightAnchor.constraint(equalToConstant: options.height)
+                    heightConstraint
                     ])
                 contentSize.width = containerWidth + options.margin * 2 + safeAreaInsets.left - safeAreaInsets.right
             } else {

                    containerView.topAnchor.constraint(equalTo: self.topAnchor),
                    leftMarginConstraint,
                    widthConstraint,
                    containerView.heightAnchor.constraint(equalToConstant: options.height)
                    ])
            } else {
                leftMarginConstraint = containerView.leadingAnchor.constraint(equalTo: self.leadingAnchor, constant: options.margin)


        containerView.frame.size.width = containerWidth
        containerView.translatesAutoresizingMaskIntoConstraints = false
        
        let heightConstraint: NSLayoutConstraint
        switch options.addition {
        case .underline:
            heightConstraint = containerView.heightAnchor.constraint(equalToConstant: options.height - options.additionView.underline.height)
        case .circle, .none:
            heightConstraint = containerView.heightAnchor.constraint(equalToConstant: options.height)
        }

        switch options.style {
        case .flexible:
