A platform for community discussion. Free, open, simple.
FIX: Prevent long composer overlapping controls
Kris86bf6babf8f3
diff --git a/app/assets/stylesheets/common/base/compose.scss b/app/assets/stylesheets/common/base/compose.scssindex 0b783192147..ead057f8a1f 100644--- a/app/assets/stylesheets/common/base/compose.scss+++ b/app/assets/stylesheets/common/base/compose.scss@@ -96,21 +96,38 @@color: $primary-high;}.reply-details {- max-width: calc(100% - 100px);+ max-width: calc(100% - 175px);+ flex: 1 1 auto;+ white-space: nowrap;}.composer-action-title {display: inline-flex;align-items: center;- justify-content: space-between;+ width: auto;+ max-width: 100%;++ .avatar {+ width: 20px;+ }- .topic-link, .user-link, .username {+ .topic-link, .user-link {overflow: hidden;text-overflow: ellipsis;white-space: nowrap;- max-width: calc(100%-125px);margin-right: 5px;}+ .username {+ margin-right: 5px;+ max-width: 100px;+ overflow: hidden;+ text-overflow: ellipsis;+ white-space: nowrap;+ @media screen and (max-width: 500px) {+ display: none;+ }+ }+.d-icon {margin-right: 5px;}diff --git a/app/assets/stylesheets/desktop/compose.scss b/app/assets/stylesheets/desktop/compose.scssindex 5ecc5d7feae..d7fc0fb05f5 100644--- a/app/assets/stylesheets/desktop/compose.scss+++ b/app/assets/stylesheets/desktop/compose.scss@@ -23,16 +23,16 @@&:not(.private-message) {.d-editor-preview-wrapper {@media screen and (max-width: 955px) {- margin-top: -79px;+ margin-top: -77px;}}}.with-tags {.d-editor-preview-wrapper {- margin-top: -79px;+ margin-top: -77px;@media screen and (max-width: 900px) {- margin-top: -116px;+ margin-top: -105px;}}}