alm
Version:
The best IDE for TypeScript
35 lines (32 loc) • 725 B
CSS
/*
* Hide the buttons in the image viewer that we don't want
*/
.viewer-toolbar .viewer-play {
display: none;
}
.viewer-toolbar .viewer-prev {
display: none;
}
.viewer-toolbar .viewer-next {
display: none;
}
/* compensate (decrease width) because of hidden buttons */
.viewer-toolbar {
width: 200px; /* if you remove another button */
}
/* Make the viewer flex box friendly */
.viewer-container {
height: auto ;
width: auto ;
}
.viewer-canvas {
display: flex;
justify-content: center;
align-items: center;
}
.viewer-canvas img {
margin-left: 0px ;
margin-top: 0px ;
margin-right: 0px ;
margin-bottom: 0px ;
}