Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WFNEWS-2411 Adjust highlights widget container max-width for mobile #2099

Merged
merged 21 commits into from
Oct 29, 2024
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
dc5a377
WFNEWS-2411 Add highlights widget to dashboard
ssylver93 Oct 23, 2024
410f064
Revert videos widget css changes
ssylver93 Oct 23, 2024
5cd992f
Remove console logs
ssylver93 Oct 23, 2024
7f8d4e9
Merge branch '2.4.0' of https://github.com/ssylver93/nr-bcws-wfnews i…
ssylver93 Oct 24, 2024
a3b42f2
WFBEWS-2411 Move highlights card to standalone component
ssylver93 Oct 24, 2024
4703cc6
WFNEWS-2411 Only bind single post to highlight card
ssylver93 Oct 24, 2024
933f38b
Merge branch '2.4.0' of https://github.com/ssylver93/nr-bcws-wfnews i…
ssylver93 Oct 25, 2024
27e5456
Add CORS headers for calls to wordpress API
ssylver93 Oct 25, 2024
9ebf29f
Try with fetch API
ssylver93 Oct 25, 2024
43e8e35
Add headers to fetch
ssylver93 Oct 26, 2024
55c2db9
Merge branch '2.4.0' of https://github.com/ssylver93/nr-bcws-wfnews i…
ssylver93 Oct 26, 2024
c34e207
Try with CapacitorHttp
ssylver93 Oct 26, 2024
7673f22
Merge branch '2.4.0' of https://github.com/ssylver93/nr-bcws-wfnews i…
ssylver93 Oct 28, 2024
f0f4d95
WFNEWS-2411 Use CapacitorHttp on mobile to avoid CORS issues in highl…
ssylver93 Oct 28, 2024
c6b02d5
WFNEWS-2411 Use CapacitorHttp on mobile to avoid CORS issues in highl…
ssylver93 Oct 28, 2024
364b421
Add comment
ssylver93 Oct 28, 2024
c471587
Move CapacitorHttp get request to service class, Lint clean up
ssylver93 Oct 28, 2024
165b4f4
Use HttpClient for getRequest when native platform is not in use, mov…
ssylver93 Oct 28, 2024
3ff9329
Remove unused imports in capacitor service
ssylver93 Oct 28, 2024
a772e58
Merge branch '2.4.0' of https://github.com/ssylver93/nr-bcws-wfnews i…
ssylver93 Oct 29, 2024
abbd899
WFNEWS-2411 Make highlights widget container wider on mobile
ssylver93 Oct 29, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
@import "../../../../../styles/variables";
@import "notosans-fontface/scss/notosans-fontface";

:host { display: block; }
:host {
display: block;
}

.container {
overflow: hidden;
Expand All @@ -11,11 +13,18 @@
border-radius: 20px;
background: #fff;
box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
max-width: min(1460px, calc(100dvw - 104px));
padding: var(--24, 24px);
flex-direction: column;
align-items: flex-start;
gap: var(--24, 24px);

@media (max-width: $mobile-max-width) {
max-width: min(1460px, calc(100dvw - 90px));
}

@media (min-width: $desktop-sm-min-width) {
max-width: min(1460px, calc(100dvw - 104px));
}
}

.content {
Expand Down
Loading