Revert "[AAE-16369] use layout-bp mixin where applicable" (#8944)

This commit is contained in:
Wojciech Duda
2023-09-28 15:22:27 +02:00
committed by GitHub
parent 65d70bffb2
commit 016e5ec089
32 changed files with 110 additions and 297 deletions

View File

@@ -20,9 +20,6 @@
],
"lib": {
"entryFile": "src/public-api.ts",
"flatModuleFile": "adf-content-services",
"styleIncludePaths": [
"../core/src/lib"
]
"flatModuleFile": "adf-content-services"
}
}

View File

@@ -1,5 +1,3 @@
@import 'styles/flex';
.adf {
&-userinfo-container {
display: flex;
@@ -14,7 +12,7 @@
&-userinfo-name {
padding: 0 5px;
@include layout-bp(lt-md) {
@media screen and (max-width: 959px) {
display: none;
}
}
@@ -96,7 +94,7 @@
display: flex;
justify-content: space-between;
@include layout-bp(lt-sm) {
@media screen and (max-width: 599px) {
padding: 10px;
}
}

View File

@@ -1,5 +1,3 @@
@import 'styles/flex';
.adf-document-list {
min-height: 0;
height: 100%;
@@ -143,7 +141,7 @@
word-break: break-all;
white-space: pre-line;
@include layout-bp(lt-sm) {
@media screen and (max-width: 599px) {
font-size: 48px;
}
}
@@ -165,12 +163,12 @@
object-fit: contain;
margin-top: 17px;
@include layout-bp(lt-sm) {
@media screen and (max-width: 599px) {
width: 250px;
}
}
@include layout-bp(lt-md) {
@media screen and (max-width: 960px) {
&-drag-drop,
&-any-files-here-to-add {
display: none;

View File

@@ -1,5 +1,4 @@
@use '@angular/material' as mat;
@import 'styles/flex';
$mat-menu-overlay-min-width: 112px !default; // 56 * 2
$mat-menu-overlay-max-width: 280px !default; // 56 * 5
@@ -24,7 +23,7 @@ $mat-menu-overlay-max-width: 280px !default; // 56 * 5
background-color: var(--adf-theme-background-card-color);
border-radius: 2px;
@include layout-bp(lt-md) {
@media screen and (max-width: 959px) {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;