mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-17 09:48:42 +00:00
[Glitch] fix: Fix SCSS lint warnings
Port 3f743b1a07 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
@@ -1244,6 +1244,7 @@ body > [data-popper-placement] {
|
|||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
letter-spacing: 0.25px;
|
letter-spacing: 0.25px;
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
|
line-clamp: 4;
|
||||||
-webkit-line-clamp: 4;
|
-webkit-line-clamp: 4;
|
||||||
-webkit-box-orient: vertical;
|
-webkit-box-orient: vertical;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
@@ -1322,6 +1323,7 @@ body > [data-popper-placement] {
|
|||||||
letter-spacing: 0.25px;
|
letter-spacing: 0.25px;
|
||||||
padding-top: 0 !important;
|
padding-top: 0 !important;
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
|
line-clamp: 4;
|
||||||
-webkit-line-clamp: 4;
|
-webkit-line-clamp: 4;
|
||||||
-webkit-box-orient: vertical;
|
-webkit-box-orient: vertical;
|
||||||
max-height: 4 * 20px;
|
max-height: 4 * 20px;
|
||||||
@@ -2166,6 +2168,7 @@ body > [data-popper-placement] {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
|
line-clamp: 1;
|
||||||
-webkit-line-clamp: 1;
|
-webkit-line-clamp: 1;
|
||||||
-webkit-box-orient: vertical;
|
-webkit-box-orient: vertical;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
@@ -3189,7 +3192,7 @@ a.account__display-name {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: $no-gap-breakpoint - 1px) {
|
@media screen and (max-width: ($no-gap-breakpoint - 1px)) {
|
||||||
$sidebar-width: 285px;
|
$sidebar-width: 285px;
|
||||||
|
|
||||||
.columns-area__panels__main {
|
.columns-area__panels__main {
|
||||||
@@ -3389,7 +3392,7 @@ a.account__display-name {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: $no-gap-breakpoint - 1px) {
|
@media screen and (max-width: ($no-gap-breakpoint - 1px)) {
|
||||||
.columns-area__panels__pane--compositional {
|
.columns-area__panels__pane--compositional {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
@@ -3630,19 +3633,19 @@ a.account__display-name {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (height <= 930px - 56px) {
|
@media screen and (height <= (930px - 56px)) {
|
||||||
&__portal .trends__item:nth-child(n + 4) {
|
&__portal .trends__item:nth-child(n + 4) {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (height <= 930px - (56px * 2)) {
|
@media screen and (height <= (930px - 56px * 2)) {
|
||||||
&__portal .trends__item:nth-child(n + 3) {
|
&__portal .trends__item:nth-child(n + 3) {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (height <= 930px - (56px * 3)) {
|
@media screen and (height <= (930px - 56px * 3)) {
|
||||||
&__portal {
|
&__portal {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
@@ -4198,6 +4201,7 @@ a.status-card {
|
|||||||
.status-card.expanded .status-card__title {
|
.status-card.expanded .status-card__title {
|
||||||
white-space: normal;
|
white-space: normal;
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
|
line-clamp: 2;
|
||||||
-webkit-line-clamp: 2;
|
-webkit-line-clamp: 2;
|
||||||
-webkit-box-orient: vertical;
|
-webkit-box-orient: vertical;
|
||||||
}
|
}
|
||||||
@@ -6390,6 +6394,7 @@ a.status-card {
|
|||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
color: $dark-text-color;
|
color: $dark-text-color;
|
||||||
|
line-clamp: 4;
|
||||||
-webkit-line-clamp: 4;
|
-webkit-line-clamp: 4;
|
||||||
-webkit-box-orient: vertical;
|
-webkit-box-orient: vertical;
|
||||||
max-height: 4 * 22px;
|
max-height: 4 * 22px;
|
||||||
@@ -8021,7 +8026,7 @@ img.modal-warning {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
|
||||||
@media screen and (max-width: $no-gap-breakpoint - 1px) {
|
@media screen and (max-width: ($no-gap-breakpoint - 1px)) {
|
||||||
border-right: 0;
|
border-right: 0;
|
||||||
border-left: 0;
|
border-left: 0;
|
||||||
}
|
}
|
||||||
@@ -8429,7 +8434,7 @@ noscript {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Fallback for older browsers with no container queries support
|
// Fallback for older browsers with no container queries support
|
||||||
@media screen and (max-width: 372px + 55px) {
|
@media screen and (max-width: (372px + 55px)) {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -8898,7 +8903,7 @@ noscript {
|
|||||||
width: 124px;
|
width: 124px;
|
||||||
flex: 0 0 auto;
|
flex: 0 0 auto;
|
||||||
|
|
||||||
@media screen and (max-width: 124px + 300px) {
|
@media screen and (max-width: (124px + 300px)) {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -8908,7 +8913,7 @@ noscript {
|
|||||||
flex: 0 0 auto;
|
flex: 0 0 auto;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
@media screen and (max-width: 124px + 300px) {
|
@media screen and (max-width: (124px + 300px)) {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -9001,7 +9006,6 @@ noscript {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
min-width: auto;
|
min-width: auto;
|
||||||
min-height: auto;
|
min-height: auto;
|
||||||
vertical-align: bottom;
|
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -9037,6 +9041,7 @@ noscript {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.emoji-picker-dropdown {
|
.emoji-picker-dropdown {
|
||||||
|
display: flex;
|
||||||
margin: 2px;
|
margin: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -9268,7 +9273,7 @@ noscript {
|
|||||||
.layout-single-column .explore__search-header {
|
.layout-single-column .explore__search-header {
|
||||||
display: none;
|
display: none;
|
||||||
|
|
||||||
@media screen and (max-width: $no-gap-breakpoint - 1px) {
|
@media screen and (max-width: ($no-gap-breakpoint - 1px)) {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -9666,7 +9671,7 @@ noscript {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: $no-gap-breakpoint - 1px) {
|
@media screen and (max-width: ($no-gap-breakpoint - 1px)) {
|
||||||
&__choices {
|
&__choices {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
@@ -11216,6 +11221,7 @@ noscript {
|
|||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
|
line-clamp: 2;
|
||||||
-webkit-line-clamp: 2;
|
-webkit-line-clamp: 2;
|
||||||
-webkit-box-orient: vertical;
|
-webkit-box-orient: vertical;
|
||||||
max-height: 2 * 20px;
|
max-height: 2 * 20px;
|
||||||
|
|||||||
Reference in New Issue
Block a user