Browse Source

Tweaking the display of docs in the media element

pull/23/merge
Zach Wise 13 years ago
parent
commit
9479b76c17
  1. 4
      source/js/VMM.Slider.js
  2. 2
      source/less/VMM.Slider.less
  3. 2
      source/less/VMM.Timeline.TimeNav.less

4
source/js/VMM.Slider.js

@ -390,6 +390,10 @@ if(typeof VMM != 'undefined' && typeof VMM.Slider == 'undefined') {
VMM.Element.height(".slider-item .layout-media .media .media-container .map", _iframe_height_full+60); VMM.Element.height(".slider-item .layout-media .media .media-container .map", _iframe_height_full+60);
VMM.Element.height(".slider-item .layout-text-media .media .media-container .map", _iframe_height_full+120); VMM.Element.height(".slider-item .layout-text-media .media .media-container .map", _iframe_height_full+120);
// MAPS
VMM.Element.height(".slider-item .layout-media .media .media-container .doc", _iframe_height_full+60);
VMM.Element.height(".slider-item .layout-text-media .media .media-container .doc", _iframe_height_full+120);
// MAX WIDTH // MAX WIDTH
VMM.Element.css(".slider-item .layout-text-media .media .media-container .media-frame", "max-width", config.slider.content.width ); VMM.Element.css(".slider-item .layout-text-media .media .media-container .media-frame", "max-width", config.slider.content.width );
//VMM.Element.width(".slider-item .layout-text-media .media .media-container .media-frame", _iframe_width); //VMM.Element.width(".slider-item .layout-text-media .media .media-container .media-frame", _iframe_width);

2
source/less/VMM.Slider.less

@ -277,7 +277,7 @@
vertical-align:middle; vertical-align:middle;
text-align:left; text-align:left;
padding:0px; padding:0px;
width: 60%; width: 90%;
text-align:left; text-align:left;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;

2
source/less/VMM.Timeline.TimeNav.less

@ -383,7 +383,7 @@
background-color:@color-background; background-color:@color-background;
.time-interval-minor { .time-interval-minor {
max-width:none;
height: @navigation-marker-height; height: @navigation-marker-height;
//display:block; //display:block;
white-space:nowrap; white-space:nowrap;

Loading…
Cancel
Save