Content
View differences
Updated by Oliver Günther over 3 years ago
On mobile, modals have duplicate close actions, the action bar `Cancel` and the mobile close button
**Expected behavior**
* On mobile, the action bar never shows "Close" or "Cancel"
* If this is the only button on Desktop, the entire action bar is hidden
* On mobile, the "X" cancel button appears below the full-width modal as shown below
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/39081/content">
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="https://user-images.githubusercontent.com/1019287/194213695-31580189-eab6-4125-b977-a93effe8308d.png" alt="EAF7B73C-2B46-4601-B8ED-B5C46C303A75"></div></figure>
**Expected behavior**
* On mobile, the action bar never shows "Close" or "Cancel"
* If this is the only button on Desktop, the entire action bar is hidden
* On mobile, the "X" cancel button appears below the full-width modal as shown below
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/39081/content">
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="https://user-images.githubusercontent.com/1019287/194213695-31580189-eab6-4125-b977-a93effe8308d.png" alt="EAF7B73C-2B46-4601-B8ED-B5C46C303A75"></div></figure>