Commit badf7ebd authored by Kent Nielsen's avatar Kent Nielsen
Browse files

Firefox fix and buttons fix

parent d965b850
Pipeline #52226 passed with stage
in 38 seconds
......@@ -7,13 +7,13 @@
<th id="calendarHead" colspan="6">
<div style="display:flex;">
<div style="flex-grow: 30;">
<button @click="prevWeek()"> &larr; </button>
<button id="leftButton" @click="prevWeek()"> &larr; </button>
</div>
<div style="flex-grow: 40">
Uge: {{getWeek(today)}} - {{getMonthName(today.getMonth())}}
</div>
<div style="flex-grow: 30;">
<button @click="nextWeek()"> &rarr; </button>
<button id="rightButton" @click="nextWeek()"> &rarr; </button>
</div>
</div>
</th>
......@@ -231,7 +231,7 @@ export default {
const buttons = document.getElementsByTagName("button");
for (let i = 0; i < buttons.length; i++) {
const element = buttons[i];
element.style.width = 35 + "px";
element.style.width = 40 + "px";
}
}
}else{
......@@ -390,6 +390,16 @@ export default {
}
}
#rightButton{
float: right;
margin-right: $default-margin;
}
#leftButton{
float: left;
margin-left: $default-margin;
}
#skematd{
position: relative;
vertical-align: top;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment