Skip to content

Commit f69e00f

Browse files
author
krasch
committed
.
1 parent f2995cd commit f69e00f

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ <h3>Reiseverlauf:</h3>
234234
<div id="tab2-content" style="padding-left: 2rem; padding-right: 2rem;">
235235
<!--button id="help-calendar" onclick="alert('coming soon');">❓ Was kann ich hier machen?</button-->
236236
<h3 style="color: var(--color-dark); padding-bottom: 0.5rem; padding-top: 2rem">Journey Calendar</h3>
237-
<calendar-grid id="calendar" start="2024-12-01" num-days="3" resolution="4"></calendar-grid>
237+
<travel-calendar id="calendar" start-date="2025-02-12"></travel-calendar>
238238
</div>
239239

240240
<div id="bottom-buttons">

script/components/datepicker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class Datepicker {
2626

2727
this.#inputElement.min = this.#start.toISODate();
2828
this.#inputElement.max = this.#end.toISODate();
29-
this.#inputElement.value = "2025-02-15";
29+
this.#inputElement.value = "2025-02-11";
3030

3131
// previously picked date might still be set after reloading the page
3232
if (this.#currentDate !== null) {

script/customElements/travelCalendar/entry.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
}
3838

3939
.entry-part .header {
40-
height: 1.5rem;
40+
min-height: 1.5rem;
4141

4242
display: flex;
4343
flex-direction: row;

style/layout.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ body {
2727
--logo-size: 6rem;
2828
--logo-padding: 1.5rem;
2929
--logo-size-with-padding: calc(var(--logo-size) + 2 * var(--logo-padding));
30-
--sidebar-width: 27rem; /* excluding logo */
30+
--sidebar-width: 25rem; /* excluding logo */
3131
--footer-height: 2rem;
3232

3333
display: grid;
@@ -287,7 +287,7 @@ a#hide-sidebar {
287287
}
288288

289289
travel-calendar {
290-
height: 700px; /* important to set a fixed height for this element */
290+
height: 670px; /* important to set a fixed height for this element */
291291
}
292292

293293
/***********************************************

0 commit comments

Comments
 (0)