From fb41fccb205bba8d460cd48a1db29642c4bae926 Mon Sep 17 00:00:00 2001 From: chapoi <101828855+chapoi@users.noreply.github.com> Date: Mon, 8 Apr 2024 23:21:57 +0300 Subject: [PATCH] UX: new default border radius (#26560) * UX: remove border radius from PMs * UX: add default 2px border radius --- app/assets/stylesheets/common/base/personal-message.scss | 2 +- app/assets/stylesheets/common/foundation/base.scss | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/common/base/personal-message.scss b/app/assets/stylesheets/common/base/personal-message.scss index e51a95ff348..444ceeb53e0 100644 --- a/app/assets/stylesheets/common/base/personal-message.scss +++ b/app/assets/stylesheets/common/base/personal-message.scss @@ -1,5 +1,5 @@ .archetype-private_message { - --pm-border-radius: 2em; + --pm-border-radius: 0; --pm-padding: 1.25em; @keyframes current-user-background-fade-highlight { diff --git a/app/assets/stylesheets/common/foundation/base.scss b/app/assets/stylesheets/common/foundation/base.scss index bef8f379d8b..57b99b3580b 100644 --- a/app/assets/stylesheets/common/foundation/base.scss +++ b/app/assets/stylesheets/common/foundation/base.scss @@ -6,8 +6,8 @@ --topic-body-width: #{$topic-body-width}; --topic-body-width-padding: #{$topic-body-width-padding}; --topic-avatar-width: #{$topic-avatar-width}; - --d-border-radius: initial; - --d-border-radius-large: initial; + --d-border-radius: 2px; + --d-border-radius-large: 2px; --d-nav-pill-border-radius: var(--d-border-radius); --d-button-border-radius: var(--d-border-radius); --d-input-border-radius: var(--d-border-radius);