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

Fikse skjermbredde kalender #2133

Merged
merged 2 commits into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Expand Up @@ -47,13 +47,14 @@
color: #ccc;
}

@media only screen and (min-width: 500px) {
@media only screen and (min-width: 768px) {
.fc-daygrid-day-frame {
height: 2rem;
}
.full-card {
height: 100%;
width: 1000px;
width: 100%;
max-width: 1000px;
margin: auto;
margin-bottom: 0;
display: flex;
Expand All @@ -69,7 +70,7 @@
width: 100%;
}
}
@media only screen and (max-width: 500px) {
@media only screen and (max-width: 768px) {
.full-card {
height: 100%;
width: 100%;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default class LibsFullCalendar extends NavigationMixin(LightningElement)
static DAYS_TO_FETCH_BEFORE_TODAY = 2 * 31;
static FETCH_THRESHOLD_IN_DAYS = 31; // How 'close' date view start or end can get to earliestTime or latestTime before a fetch of new events occurs
static REFRESH_ICON = IKONER + '/Refresh/Refresh.svg';
static MOBILE_BREAK_POINT = 500;
static MOBILE_BREAK_POINT = 768;
static STATE_KEY = 'i98u14ij24j2+49i+04oasfdh';

@track showDetails = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
}

/* Adjusted media query for mobile devices */
@media (max-width: 576px) {
@media (max-width: 768px) {
.main {
padding: 0;
}
Expand Down
Loading