551352e379
We use 180x180 px as thumbnail size, and 2px border for selected thumbnail on top of that which makes its 184x180. .parts-preview needs to be expanded to 214px for mCustomScrollbar to work properly without hiding any thumbnails including borders. With all of this, we also need to shift impress document offset to 214px from left to make all things fit nicely. Change-Id: I446918403cd43fe61f0ebfb358e6a2051014b28a
37 lines
569 B
CSS
37 lines
569 B
CSS
.parts-preview-document {
|
|
left: 214px !important;
|
|
}
|
|
|
|
.parts-preview {
|
|
background: #DFDFDF;
|
|
position: absolute;
|
|
top: 47px;
|
|
left: 0px;
|
|
bottom: 29px;
|
|
max-width: 214px;
|
|
overflow: hidden;
|
|
border-top: 2px solid #B6B6B6;
|
|
}
|
|
|
|
.preview-frame {
|
|
max-width: 190px;
|
|
white-space: nowrap;
|
|
text-align: center; margin: 1em 0;
|
|
}
|
|
|
|
.preview-helper {
|
|
display: inline-block;
|
|
height: 100%;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.preview-img {
|
|
vertical-align: middle;
|
|
max-width: 184px;
|
|
cursor: pointer;
|
|
border: 2px solid #dfdfdf;
|
|
}
|
|
|
|
.preview-img-selected {
|
|
border-color: #000000;
|
|
}
|