SAAS-833: Radio page UI improvements/fixes

Added width and height to schedule widget iframe tag
This commit is contained in:
drigato 2015-06-03 09:18:38 -04:00
parent 1add10c657
commit 9a42c4bf36
3 changed files with 5 additions and 8 deletions

View File

@ -8,7 +8,7 @@
} ?> } ?>
<div id="tab-1" class="schedule tab_content current"> <div id="tab-1" class="schedule tab_content current">
<iframe id="schedule_iframe" scrolling="no" frameborder="0" src=<?php echo $this->stationUrl."embed/weekly-program"?>></iframe> <iframe id="schedule_iframe" height="400px" width="770px" scrolling="no" frameborder="0" src=<?php echo $this->stationUrl."embed/weekly-program"?>></iframe>
</div> </div>
<div id="tab-2" class="about_us tab_content"> <div id="tab-2" class="about_us tab_content">

View File

@ -29,17 +29,15 @@ body {
#schedule_iframe, .tab_content { #schedule_iframe, .tab_content {
color: #fff; color: #fff;
text-align: center; text-align: center;
/*display: none;*/ /*width: 760px;*/
height: 100%; max-width: 770px;
width: 100%;
max-width: 760px;
margin: 0 auto; margin: 0 auto;
margin-bottom: 140px; margin-bottom: 140px;
padding: 10px; padding: 10px;
padding-left: 0px; padding-left: 0px;
position: absolute; position: absolute;
left: 50%; /*left: 50%;*/
margin-left: -380px; /*margin-left: -380px;*/
/* -webkit-transition-delay: 1s; /* -webkit-transition-delay: 1s;
transition-delay: 1s;*/ transition-delay: 1s;*/
} }

View File

@ -7,7 +7,6 @@ body {
color: #fff; color: #fff;
text-align: center; text-align: center;
visibility: hidden; visibility: hidden;
width: 100%;
max-width: 750px; max-width: 750px;
margin: 0 auto; margin: 0 auto;
margin-bottom: 140px; margin-bottom: 140px;