Skip to content

Commit fcc8d0f

Browse files
committed
made some small fixes to responsivness and styles
1 parent e798e8f commit fcc8d0f

File tree

8 files changed

+17474
-22674
lines changed

8 files changed

+17474
-22674
lines changed

package-lock.json

Lines changed: 17452 additions & 22662 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/app/common/components/ArtGallery/ArtGalleryBlock.styles.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
}
2727

2828
.artGallerySliderContainer {
29-
width: pxToRem(1230px);
29+
width: pxToRem(1260px);
3030
}
3131
}
3232

@@ -89,7 +89,7 @@
8989
.artGalleryContainer {
9090
.artGalleryContentContainer {
9191
.artGallerySliderContainer {
92-
@include mut.rem-padded(s.$art-gallery-gap-mobile, s.$art-gallery-gap-mobile, 0, s.$art-gallery-gap-mobile);
92+
@include mut.rem-padded(0, s.$art-gallery-gap-mobile, 0, 0);
9393
gap: pxToRem(s.$art-gallery-gap-mobile);
9494
height: pxToRem(362px);
9595

src/app/common/components/ArtGallery/components/BaseArtGallerySlide.styles.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424

2525
@media screen and (max-width: 680px) {
2626
@include mut.rem-padded($bottom: s.$art-gallery-gap-mobile);
27+
padding: 0 0 0 0 !important;
2728
height: pxToRem(362px);
2829
width: pxToRem(680px);
29-
30-
max-height: unset;
30+
max-width: fit-content;
3131
}
3232
}
3333

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
@use "@sass/mixins/_utils.mixins.scss" as mut;
22
@use "@sass/_utils.functions.scss" as *;
33

4-
.OneToFourAndFiveToSixSlide{
5-
@include mut.art-slide-grid();
6-
grid-template-columns: 2fr 1fr;
4+
.OneToFourAndFiveToSixSlide {
5+
@include mut.art-slide-grid($cols: 2, $rows: 2);
6+
@include mut.images-grid-area($to: 2);
7+
8+
grid-template-columns: 2fr 1fr;
9+
grid-template-areas:
10+
"img1 img2"
11+
"img1 img2";
712
}

src/app/common/constants/api-routes.constants.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,9 @@ export const API_ROUTES = {
201201
DELETE: 'coordinate/delete',
202202
},
203203
USERS: {
204-
LOGIN: 'auth/login',
205-
REFRESH_TOKEN: 'auth/refreshToken',
206-
REGISTER: 'auth/register',
204+
LOGIN: 'user/login',
205+
REFRESH_TOKEN: 'user/refreshToken',
206+
REGISTER: 'user/register',
207207
},
208208
EMAIL: {
209209
SEND: 'email/send',

src/assets/sass/mixins/_utils.mixins.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@
308308
justify-content: center;
309309
align-content: center;
310310
grid-template-columns: repeat($cols, 1fr);
311-
grid-template-rows: repeat($rows, 1fr);
311+
grid-template-rows: repeat($rows, minmax(auto, 253px));
312312
}
313313

314314
@mixin list-styles($type) {

src/assets/sass/variables/_variables.sizes.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ $smallTablet: 700px;
44
$phone: 600px;
55
$smallPhone: 400px;
66

7-
$art-gallery-img-size: 309px;
7+
$art-gallery-img-size: 380px;
88
$art-gallery-img-size-mobile: 200px;
99

1010
$art-gallery-gap: 30px;

yarn.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7158,6 +7158,11 @@ inquirer@^8.2.0:
71587158
through "^2.3.6"
71597159
wrap-ansi "^6.0.1"
71607160

7161+
install@^0.13.0:
7162+
version "0.13.0"
7163+
resolved "https://registry.npmjs.org/install/-/install-0.13.0.tgz"
7164+
integrity sha512-zDml/jzr2PKU9I8J/xyZBQn8rPCAY//UOYNmR01XwNwyfhEWObo2SWfSl1+0tm1u6PhxLwDnfsT/6jB7OUxqFA==
7165+
71617166
internal-slot@^1.0.3, internal-slot@^1.0.4, internal-slot@^1.0.5:
71627167
version "1.0.5"
71637168
resolved "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.5.tgz"

0 commit comments

Comments
 (0)