width: $size;
height: 100%;
- transform: translateX(-100%);
+ transform: translateX(-$size);
overflow-y: auto;
// Sets the open position for the content
width: $size;
height: 100%;
- transform: translateX(100%);
+ transform: translateX($size);
overflow-y: auto;
// Sets the open position for the content
width: 100%;
height: $size;
- transform: translateY(-100%);
+ transform: translateY(-$size);
overflow-x: auto;
// Sets the open position for the content
width: 100%;
height: $size;
- transform: translateY(100%);
+ transform: translateY($size);
overflow-x: auto;
// Sets the open position for the content