diff --git a/src/App.scss b/src/App.scss index 78a3494c7..be6929f69 100644 --- a/src/App.scss +++ b/src/App.scss @@ -741,17 +741,17 @@ option { } &.-dot { - min-height: 8px; - max-height: 8px; - min-width: 8px; - max-width: 8px; + min-height: 0.6em; + max-height: 0.6em; + min-width: 0.6em; + max-width: 0.6em; padding: 0; line-height: 0; font-size: 0; - left: calc(50% - 4px); - top: calc(50% - 4px); - margin-left: 6px; - margin-top: -6px; + left: calc(50% - 0.6em); + top: calc(50% - 0.6em); + margin-left: 0.4em; + margin-top: -0.4em; } &.-counter { diff --git a/src/components/attachment/attachment.scss b/src/components/attachment/attachment.scss index 16346c97c..97515eb32 100644 --- a/src/components/attachment/attachment.scss +++ b/src/components/attachment/attachment.scss @@ -107,9 +107,9 @@ .play-icon { position: absolute; - font-size: 64px; - top: calc(50% - 32px); - left: calc(50% - 32px); + font-size: 4.5em; + top: calc(50% - 2.25rem); + left: calc(50% - 2.25rem); color: rgb(255 255 255 / 75%); text-shadow: 0 0 2px rgb(0 0 0 / 40%); diff --git a/src/components/gallery/gallery.vue b/src/components/gallery/gallery.vue index 7209e9144..eb1054df6 100644 --- a/src/components/gallery/gallery.vue +++ b/src/components/gallery/gallery.vue @@ -129,7 +129,7 @@ .gallery-item { margin: 0; - height: 200px; + height: 15em; } } } diff --git a/src/components/media_modal/media_modal.vue b/src/components/media_modal/media_modal.vue index 5cc8c50a3..7f625755c 100644 --- a/src/components/media_modal/media_modal.vue +++ b/src/components/media_modal/media_modal.vue @@ -168,7 +168,7 @@ $modal-view-button-icon-margin: 0.5em; flex: 0 0 auto; overflow-y: auto; min-height: 1em; - max-width: 500px; + max-width: 35.8em; max-height: 9.5em; overflow-wrap: break-word; text-wrap: pretty; diff --git a/src/components/mention_link/mention_link.scss b/src/components/mention_link/mention_link.scss index c3261e17d..3aa7816be 100644 --- a/src/components/mention_link/mention_link.scss +++ b/src/components/mention_link/mention_link.scss @@ -7,7 +7,6 @@ & .new, & .original { display: inline; - border-radius: 2px; } .mention-avatar { diff --git a/src/components/mrf_transparency_panel/mrf_transparency_panel.scss b/src/components/mrf_transparency_panel/mrf_transparency_panel.scss index a262ed1c5..8e2fa553a 100644 --- a/src/components/mrf_transparency_panel/mrf_transparency_panel.scss +++ b/src/components/mrf_transparency_panel/mrf_transparency_panel.scss @@ -4,13 +4,13 @@ table { width: 100%; text-align: left; - padding-left: 10px; - padding-bottom: 20px; + padding-left: 0.5em; + padding-bottom: 1.1em; th, td { - width: 180px; - max-width: 360px; + width: 11em; + max-width: 25em; overflow: hidden; vertical-align: text-top; } diff --git a/src/components/settings_modal/helpers/emoji_editing_popover.vue b/src/components/settings_modal/helpers/emoji_editing_popover.vue index 1cca45fbf..33c52da4d 100644 --- a/src/components/settings_modal/helpers/emoji_editing_popover.vue +++ b/src/components/settings_modal/helpers/emoji_editing_popover.vue @@ -229,8 +229,8 @@ export default { padding-bottom: 0.5em; .emoji { - width: 32px; - height: 32px; + width: 2.3em; + height: 2.3em; } } diff --git a/src/components/settings_modal/tabs/security_tab/mfa.vue b/src/components/settings_modal/tabs/security_tab/mfa.vue index 9421b16ee..7e825062f 100644 --- a/src/components/settings_modal/tabs/security_tab/mfa.vue +++ b/src/components/settings_modal/tabs/security_tab/mfa.vue @@ -159,10 +159,16 @@ .qr-code { flex: 1; - padding-right: 10px; + padding-right: 0.7em; + } + + .verify { + flex: 1; + } + + .error { + margin: 0.3em 0 0; } - .verify { flex: 1; } - .error { margin: 4px 0 0; } .confirm-otp-actions { button { diff --git a/src/components/settings_modal/tabs/theme_tab/theme_preview.vue b/src/components/settings_modal/tabs/theme_tab/theme_preview.vue index e8ac0d8a3..016d84c49 100644 --- a/src/components/settings_modal/tabs/theme_tab/theme_preview.vue +++ b/src/components/settings_modal/tabs/theme_tab/theme_preview.vue @@ -21,7 +21,7 @@
-
+
@@ -71,7 +71,7 @@
-
+
@@ -149,7 +149,7 @@ export default { background-position: 50% 50%; .theme-preview-content { - padding: 20px; + padding: 1.5em; } .dummy { @@ -203,19 +203,21 @@ export default { .avatar-alt { flex: 0 auto; - margin-left: 28px; - font-size: 12px; - min-width: 20px; - min-height: 20px; - line-height: 20px; + margin-left: 2em; + font-size: 0.85em; + min-width: 2.2rem; + min-height: 2.2rem; + line-height: 1.5em; + align-content: center; } .avatar { flex: 0 auto; - width: 48px; - height: 48px; - font-size: 14px; - line-height: 48px; + width: 3.5em; + height: 3.5em; + font-size: 1rem; + line-height: 3.5em; + justify-content: center; } .actions { @@ -241,7 +243,7 @@ export default { .underlay-preview { position: absolute; - inset: 0 10px; + inset: 0 0.9em; } } diff --git a/src/components/settings_modal/tabs/theme_tab/theme_tab.scss b/src/components/settings_modal/tabs/theme_tab/theme_tab.scss index d83beffa0..ae2364dcc 100644 --- a/src/components/settings_modal/tabs/theme_tab/theme_tab.scss +++ b/src/components/settings_modal/tabs/theme_tab/theme_tab.scss @@ -107,7 +107,7 @@ justify-content: space-between; align-items: baseline; width: 100%; - min-height: 30px; + min-height: 2.1em; margin-bottom: 1em; p { @@ -212,7 +212,7 @@ .theme-color-cl, .theme-radius-in, .theme-color-in { - margin-left: 4px; + margin-left: 0.3em; } .theme-radius-in { diff --git a/src/components/shout_panel/shout_panel.vue b/src/components/shout_panel/shout_panel.vue index 1b2b591c2..184fe81e0 100644 --- a/src/components/shout_panel/shout_panel.vue +++ b/src/components/shout_panel/shout_panel.vue @@ -122,8 +122,8 @@ .shout-avatar { img { - height: 24px; - width: 24px; + height: 0.6em; + width: 0.6em; border-radius: var(--roundness); margin-right: 0.5em; margin-top: 0.25em; diff --git a/src/components/tab_switcher/tab_switcher.scss b/src/components/tab_switcher/tab_switcher.scss index 60413c5f4..b7274d86d 100644 --- a/src/components/tab_switcher/tab_switcher.scss +++ b/src/components/tab_switcher/tab_switcher.scss @@ -202,9 +202,9 @@ } img { - max-height: 26px; + max-height: 1.9em; vertical-align: top; - margin-top: -5px; + margin-top: -0.3em; } } diff --git a/src/components/user_reporting_modal/user_reporting_modal.vue b/src/components/user_reporting_modal/user_reporting_modal.vue index 0e93824b7..dbd7e7e56 100644 --- a/src/components/user_reporting_modal/user_reporting_modal.vue +++ b/src/components/user_reporting_modal/user_reporting_modal.vue @@ -10,7 +10,7 @@ keypath="user_reporting.title" class="title" > - +
@@ -74,10 +74,14 @@