scrolling issues be gone
This commit is contained in:
@ -40,18 +40,9 @@
|
|||||||
|
|
||||||
background-color: @body-bg;
|
background-color: @body-bg;
|
||||||
}
|
}
|
||||||
.iframeWrapper {
|
|
||||||
height:100%;
|
|
||||||
width:100%;
|
|
||||||
overflow-x: hidden;
|
|
||||||
overflow-y: scroll;
|
|
||||||
-webkit-overflow-scrolling: touch;
|
|
||||||
iframe {
|
iframe {
|
||||||
flex: 1;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
border: 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -139,10 +130,16 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.mapWrapper {
|
||||||
|
position:absolute;
|
||||||
|
display: block;
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.map-accordion {
|
.map-accordion {
|
||||||
margin: 135px auto 0;
|
|
||||||
width:700px;
|
width:700px;
|
||||||
overflow-y: auto;
|
margin:155px auto 0;
|
||||||
position:relative;
|
position:relative;
|
||||||
#nested {
|
#nested {
|
||||||
margin:0 15px;
|
margin:0 15px;
|
||||||
@ -228,10 +225,19 @@
|
|||||||
left:0;
|
left:0;
|
||||||
right:0;
|
right:0;
|
||||||
width:100%;
|
width:100%;
|
||||||
margin-top:180px;
|
top:195px;
|
||||||
|
bottom:0;
|
||||||
|
margin:0;
|
||||||
|
position:absolute;
|
||||||
|
overflow-x: hidden;
|
||||||
|
overflow-y: auto;
|
||||||
|
-webkit-overflow-scrolling: touch;
|
||||||
h2 {
|
h2 {
|
||||||
margin:15px 0;
|
margin:15px 0;
|
||||||
padding:0;
|
padding:0;
|
||||||
|
&:first-of-type {
|
||||||
|
margin-top:0;
|
||||||
|
}
|
||||||
> a {
|
> a {
|
||||||
padding:10px 0;
|
padding:10px 0;
|
||||||
padding-left:50px;
|
padding-left:50px;
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
#wikiFrame {
|
#wikiFrame {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
padding-top: 30px;
|
|
||||||
top:0;
|
top:0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@ -53,18 +52,13 @@
|
|||||||
background-color: @body-bg;
|
background-color: @body-bg;
|
||||||
}
|
}
|
||||||
|
|
||||||
.iframeWrapper {
|
|
||||||
height:100%;
|
|
||||||
width:100%;
|
|
||||||
overflow-x: hidden;
|
|
||||||
overflow-y: scroll;
|
|
||||||
-webkit-overflow-scrolling: touch;
|
|
||||||
iframe {
|
iframe {
|
||||||
flex: 1;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
border: 0;
|
top:0;
|
||||||
}
|
bottom:0;
|
||||||
|
position:absolute;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -83,14 +77,14 @@
|
|||||||
.wiki-aside-action-bar {
|
.wiki-aside-action-bar {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
right: 15px;
|
||||||
|
|
||||||
display: -webkit-flex;
|
display: -webkit-flex;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
|
|
||||||
padding-bottom: 5px;
|
padding-bottom: 5px;
|
||||||
padding-right:10px;
|
padding-right:0px;
|
||||||
padding-top:5px;
|
padding-top:5px;
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
}
|
}
|
||||||
|
@ -357,9 +357,9 @@ $(document).ready(function() {
|
|||||||
var mapAside = $('<iframe>');
|
var mapAside = $('<iframe>');
|
||||||
mapAside.attr({
|
mapAside.attr({
|
||||||
src: '/map-aside',
|
src: '/map-aside',
|
||||||
scrolling: 'yes'
|
frameBorder: '0'
|
||||||
});
|
});
|
||||||
$('.map-aside .iframeWrapper').append(mapAside);
|
$('.map-aside').append(mapAside);
|
||||||
main.isMapAsideLoad = true;
|
main.isMapAsideLoad = true;
|
||||||
}
|
}
|
||||||
$('.map-aside').removeClass('is-collapsed');
|
$('.map-aside').removeClass('is-collapsed');
|
||||||
@ -391,9 +391,9 @@ $(document).ready(function() {
|
|||||||
var wikiAside = $('<iframe>');
|
var wikiAside = $('<iframe>');
|
||||||
wikiAside.attr({
|
wikiAside.attr({
|
||||||
src: wikiURL,
|
src: wikiURL,
|
||||||
scrolling: 'yes'
|
frameBorder: '0'
|
||||||
});
|
});
|
||||||
$('.wiki-aside .iframeWrapper').append(wikiAside);
|
$('.wiki-aside').append(wikiAside);
|
||||||
main.isWikiAsideLoad = true;
|
main.isWikiAsideLoad = true;
|
||||||
}
|
}
|
||||||
$('.wiki-aside').removeClass('is-collapsed');
|
$('.wiki-aside').removeClass('is-collapsed');
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
extends ../layout-wide
|
extends ../layout-wide
|
||||||
block content
|
block content
|
||||||
|
.mapWrapper
|
||||||
.text-center.map-fixed-header
|
.text-center.map-fixed-header
|
||||||
p Challenges required for certifications are marked with a *
|
p Challenges required for certifications are marked with a *
|
||||||
.row.map-buttons
|
.row.map-buttons
|
||||||
|
@ -4,9 +4,7 @@ aside.map-aside.is-collapsed
|
|||||||
.map-aside-action-bar
|
.map-aside-action-bar
|
||||||
a.map-aside-action-item.map-aside-action-pop-out(href='/map' target='_blank' aria-label='open map in new tab')
|
a.map-aside-action-item.map-aside-action-pop-out(href='/map' target='_blank' aria-label='open map in new tab')
|
||||||
button.map-aside-action-item.map-aside-action-collapse(aria-label='close map aside')
|
button.map-aside-action-item.map-aside-action-collapse(aria-label='close map aside')
|
||||||
.iframeWrapper
|
|
||||||
aside.wiki-aside.is-collapsed
|
aside.wiki-aside.is-collapsed
|
||||||
.wiki-aside-action-bar
|
.wiki-aside-action-bar
|
||||||
a.wiki-aside-action-item.wiki-aside-action-pop-out(href='/wiki' target='_blank' aria-label='open wiki in new tab')
|
a.wiki-aside-action-item.wiki-aside-action-pop-out(href='/wiki' target='_blank' aria-label='open wiki in new tab')
|
||||||
button.wiki-aside-action-item.wiki-aside-action-collapse(aria-label='close wiki aside')
|
button.wiki-aside-action-item.wiki-aside-action-collapse(aria-label='close wiki aside')
|
||||||
.iframeWrapper
|
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
extends ../layout-wide
|
extends ../layout-wide
|
||||||
block content
|
block content
|
||||||
.iframeWrapper
|
|
||||||
iframe#wikiFrame(frameborder='no')
|
iframe#wikiFrame(frameborder='no')
|
||||||
script.
|
script.
|
||||||
var lang = window.location.toString().match(/\/\w{2}\//);
|
var lang = window.location.toString().match(/\/\w{2}\//);
|
||||||
|
Reference in New Issue
Block a user