FIX: prevents height jumpyness
This commit is contained in:
parent
4a9e982357
commit
5aaae931eb
|
@ -1,5 +1,6 @@
|
||||||
.discourse-calendar-wrap {
|
.discourse-calendar-wrap {
|
||||||
margin: 0.5em 0;
|
margin: 0.5em 0;
|
||||||
|
border: 5px solid $primary-low;
|
||||||
}
|
}
|
||||||
|
|
||||||
.category-calendar .calendar {
|
.category-calendar .calendar {
|
||||||
|
@ -13,13 +14,22 @@
|
||||||
|
|
||||||
.calendar {
|
.calendar {
|
||||||
height: 645px; // Must be fixed to prevent height change on load
|
height: 645px; // Must be fixed to prevent height change on load
|
||||||
padding: 0 0.5em;
|
border: 0;
|
||||||
|
|
||||||
&.fc-unthemed {
|
&.fc-unthemed {
|
||||||
tbody,
|
tbody,
|
||||||
thead,
|
thead,
|
||||||
tr {
|
tr {
|
||||||
border: none;
|
border: none;
|
||||||
|
|
||||||
|
td.fc-widget-content,
|
||||||
|
td.fc-widget-header {
|
||||||
|
border-left: 0;
|
||||||
|
|
||||||
|
&:last-child {
|
||||||
|
border-right: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.fc-basic-view .fc-day-top .fc-day-number {
|
.fc-basic-view .fc-day-top .fc-day-number {
|
||||||
|
@ -42,7 +52,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.fc-header-toolbar {
|
.fc-header-toolbar {
|
||||||
margin: 1em 0 0.5em 0;
|
padding: 0.5em 0.5em 0 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fc-title {
|
.fc-title {
|
||||||
|
@ -70,7 +80,6 @@
|
||||||
color: $primary;
|
color: $primary;
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
border: none;
|
border: none;
|
||||||
|
|
||||||
padding: 6px 12px;
|
padding: 6px 12px;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
|
@ -82,11 +91,9 @@
|
||||||
background: $tertiary;
|
background: $tertiary;
|
||||||
color: $secondary;
|
color: $secondary;
|
||||||
}
|
}
|
||||||
margin: 0.3em 0 0.3em 0.5em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.fc-button-group {
|
.fc-button-group {
|
||||||
margin: 0.3em 0 0.3em 0.5em;
|
|
||||||
// margin-right: 0;
|
// margin-right: 0;
|
||||||
.fc-button {
|
.fc-button {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
@ -182,10 +189,6 @@ a.holiday {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.discourse-calendar-wrap {
|
|
||||||
border: 1px solid $primary-low;
|
|
||||||
}
|
|
||||||
|
|
||||||
.discourse-calendar-header .discourse-calendar-timezone-picker {
|
.discourse-calendar-header .discourse-calendar-timezone-picker {
|
||||||
max-width: 50vw;
|
max-width: 50vw;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
|
|
Loading…
Reference in New Issue