diff --git a/css/_atlaskit_overrides.scss b/css/_atlaskit_overrides.scss index 3de940a74..bbc9dd868 100644 --- a/css/_atlaskit_overrides.scss +++ b/css/_atlaskit_overrides.scss @@ -20,10 +20,25 @@ * Override @atlaskit/modal-dialog header styling */ .atlaskit-portal [role="dialog"] header { - .jitsi-icon svg { - fill: #B8C7E0; + .jitsi-icon { cursor: pointer; } + + .jitsi-icon svg { + fill: #B8C7E0; + } +} + +/** + * Make header close button more easily tappable on mobile. + */ +.mobile-browser .atlaskit-portal [role="dialog"] header .jitsi-icon { + display: grid; + place-items: center; + height: 48px; + width: 48px; + background: #2a3a4b; + border-radius: 3px; } /** diff --git a/css/_chat.scss b/css/_chat.scss index fa37a3f45..6f6f955a5 100644 --- a/css/_chat.scss +++ b/css/_chat.scss @@ -113,8 +113,11 @@ font-size: 24px; line-height: 32px; - .jitsi-icon > svg { + .jitsi-icon { cursor: pointer; + } + + .jitsi-icon > svg { fill: #A4B8D1; } } @@ -387,6 +390,7 @@ &-header { display: flex; justify-content: space-between; + align-items: center; margin: 16px 16px 24px; width: calc(100% - 32px); box-sizing: border-box; @@ -395,8 +399,11 @@ font-size: 24px; line-height: 32px; - .jitsi-icon > svg { + .jitsi-icon { cursor: pointer; + } + + .jitsi-icon > svg { fill: #A4B8D1; } } @@ -405,3 +412,15 @@ width: 100%; } } + +/** + * Make header close button more easily tappable on mobile. + */ +.mobile-browser .chat-dialog-header .jitsi-icon { + display: grid; + place-items: center; + height: 48px; + width: 48px; + background: #2a3a4b; + border-radius: 3px; +} diff --git a/css/modals/embed-meeting/_embed-meeting.scss b/css/modals/embed-meeting/_embed-meeting.scss index 3d3a7f21a..7269e4365 100644 --- a/css/modals/embed-meeting/_embed-meeting.scss +++ b/css/modals/embed-meeting/_embed-meeting.scss @@ -2,22 +2,6 @@ &-dialog { display: flex; flex-direction: column; - - &-header { - display: flex; - justify-content: space-between; - margin: 16px 16px 24px; - width: calc(100% - 32px); - color: #fff; - font-weight: 600; - font-size: 24px; - line-height: 32px; - - & > div > svg { - cursor: pointer; - fill: #A4B8D1; - } - } } &-copy { diff --git a/css/modals/invite/_invite_more.scss b/css/modals/invite/_invite_more.scss index 710c07806..d125bfac5 100644 --- a/css/modals/invite/_invite_more.scss +++ b/css/modals/invite/_invite_more.scss @@ -47,22 +47,6 @@ font-size: 15px; line-height: 24px; - &.header { - display: flex; - justify-content: space-between; - margin: 16px 16px 24px; - width: calc(100% - 32px); - color: #fff; - font-weight: 600; - font-size: 24px; - line-height: 32px; - - & > div > svg { - cursor: pointer; - fill: #A4B8D1; - } - } - &.separator { margin: 24px 0 24px -20px; padding: 0 20px; diff --git a/react/features/embed-meeting/components/EmbedMeetingDialog.js b/react/features/embed-meeting/components/EmbedMeetingDialog.js index 532a1171c..0943c8ce3 100644 --- a/react/features/embed-meeting/components/EmbedMeetingDialog.js +++ b/react/features/embed-meeting/components/EmbedMeetingDialog.js @@ -8,8 +8,6 @@ import { getInviteURL } from '../../base/connection'; import { Dialog } from '../../base/dialog'; import { translate } from '../../base/i18n'; -import Header from './Header'; - type Props = { /** @@ -40,9 +38,9 @@ function EmbedMeeting({ t, url }: Props) { return (