GO AWAY ANIMATIONS
This commit is contained in:
@@ -124,8 +124,6 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.highscore-container {
|
.highscore-container {
|
||||||
width: 35%;
|
|
||||||
|
|
||||||
@include mobile {
|
@include mobile {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
@@ -223,7 +221,7 @@ h1 {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
padding-bottom: 25px;
|
padding-bottom: 20vw;
|
||||||
border-right: 1px solid #333;
|
border-right: 1px solid #333;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -84,6 +84,9 @@ export default {
|
|||||||
data: chartdata,
|
data: chartdata,
|
||||||
options: {
|
options: {
|
||||||
maintainAspectRatio: false,
|
maintainAspectRatio: false,
|
||||||
|
animation: {
|
||||||
|
duration: 0 // general animation time
|
||||||
|
},
|
||||||
title: {
|
title: {
|
||||||
display: true,
|
display: true,
|
||||||
text: "Antall kjøpt",
|
text: "Antall kjøpt",
|
||||||
|
|||||||
@@ -75,6 +75,9 @@ export default {
|
|||||||
type: "bar",
|
type: "bar",
|
||||||
data: chartdata,
|
data: chartdata,
|
||||||
options: {
|
options: {
|
||||||
|
animation: {
|
||||||
|
duration: 0 // general animation time
|
||||||
|
},
|
||||||
maintainAspectRatio: false,
|
maintainAspectRatio: false,
|
||||||
title: {
|
title: {
|
||||||
display: true,
|
display: true,
|
||||||
@@ -109,13 +112,13 @@ export default {
|
|||||||
|
|
||||||
.chart {
|
.chart {
|
||||||
height: 40vh;
|
height: 40vh;
|
||||||
max-height: 364px;
|
max-height: 500px;
|
||||||
|
|
||||||
@include mobile {
|
@include mobile {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 90vw !important;
|
width: 90vw !important;
|
||||||
max-height: unset;
|
max-height: unset;
|
||||||
height: 50vh;
|
height: 30vh;
|
||||||
margin-bottom: 2rem;
|
margin-bottom: 2rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -104,9 +104,13 @@ ol {
|
|||||||
|
|
||||||
.truncate {
|
.truncate {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
max-width: 250px;
|
max-width: 20vw;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
|
@include mobile {
|
||||||
|
max-width: calc(75vw - 90px - 62px);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user