Fix horizontal scrollbar in Edge #2
This commit is contained in:
parent
7a0a87bf6c
commit
d683dc499a
@ -724,21 +724,19 @@ html.cp,
|
|||||||
}
|
}
|
||||||
.cp #noscriptContainer #noscript {
|
.cp #noscriptContainer #noscript {
|
||||||
width: 1000px;
|
width: 1000px;
|
||||||
display: inline-block;
|
display: flex;
|
||||||
position: absolute;
|
align-items: center;
|
||||||
top: 50%;
|
justify-content: center;
|
||||||
left: 50%;
|
height: 100%;
|
||||||
transform: translate(-50%);
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
position: relative;
|
||||||
|
z-index: 2;
|
||||||
}
|
}
|
||||||
.cp #noscriptContainer #noscript noscript {
|
.cp #noscriptContainer #noscript noscript {
|
||||||
font-size: 25px;
|
font-size: 25px;
|
||||||
width: 1000px;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
position: absolute;
|
|
||||||
top: 50%;
|
|
||||||
left: 0;
|
|
||||||
color: #fff;
|
color: #fff;
|
||||||
transform: translateY(-50%);
|
|
||||||
}
|
}
|
||||||
.cp #main {
|
.cp #main {
|
||||||
background: url('/customize/bg3.jpg') no-repeat center center;
|
background: url('/customize/bg3.jpg') no-repeat center center;
|
||||||
@ -772,24 +770,19 @@ html.cp,
|
|||||||
}
|
}
|
||||||
.cp #main #align-container,
|
.cp #main #align-container,
|
||||||
.cp #main_other #align-container {
|
.cp #main_other #align-container {
|
||||||
position: absolute;
|
display: flex;
|
||||||
top: 50%;
|
align-items: center;
|
||||||
left: 50%;
|
justify-content: center;
|
||||||
transform: translate(-50%);
|
height: 100%;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
display: inline-block;
|
|
||||||
width: 1000px;
|
width: 1000px;
|
||||||
max-width: 90%;
|
max-width: 90%;
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
.cp #main #main-container,
|
.cp #main #main-container,
|
||||||
.cp #main_other #main-container {
|
.cp #main_other #main-container {
|
||||||
position: absolute;
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
top: 50%;
|
|
||||||
left: 0;
|
|
||||||
transform: translateY(-50%);
|
|
||||||
width: 100%;
|
|
||||||
}
|
}
|
||||||
.cp #main #data,
|
.cp #main #data,
|
||||||
.cp #main_other #data {
|
.cp #main_other #data {
|
||||||
|
|||||||
@ -15,8 +15,6 @@ define([
|
|||||||
$(function () {
|
$(function () {
|
||||||
var $main = $('#mainBlock');
|
var $main = $('#mainBlock');
|
||||||
|
|
||||||
$('#noscriptContainer').hide();
|
|
||||||
|
|
||||||
// Language selector
|
// Language selector
|
||||||
var $sel = $('#language-selector');
|
var $sel = $('#language-selector');
|
||||||
Cryptpad.createLanguageSelector(undefined, $sel);
|
Cryptpad.createLanguageSelector(undefined, $sel);
|
||||||
|
|||||||
@ -262,20 +262,18 @@ body.html {
|
|||||||
right: 0;
|
right: 0;
|
||||||
#noscript {
|
#noscript {
|
||||||
width: 1000px;
|
width: 1000px;
|
||||||
display: inline-block;
|
display: flex;
|
||||||
position: absolute;
|
align-items: center;
|
||||||
top: 50%;
|
justify-content: center;
|
||||||
left: 50%;
|
height: 100%;
|
||||||
transform: translate(-50%);
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
position: relative;
|
||||||
|
z-index: 2;
|
||||||
noscript {
|
noscript {
|
||||||
font-size: 25px;
|
font-size: 25px;
|
||||||
width: 1000px;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
position: absolute;
|
|
||||||
top: 50%;
|
|
||||||
left: 0;
|
|
||||||
color: @main-color;
|
color: @main-color;
|
||||||
transform: translateY(-50%);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -313,24 +311,19 @@ body.html {
|
|||||||
font-size: medium;
|
font-size: medium;
|
||||||
|
|
||||||
#align-container {
|
#align-container {
|
||||||
position: absolute;
|
display: flex;
|
||||||
top: 50%;
|
align-items: center;
|
||||||
left: 50%;
|
justify-content: center;
|
||||||
transform: translate(-50%);
|
height: 100%;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
display: inline-block;
|
|
||||||
width: 1000px;
|
width: 1000px;
|
||||||
max-width: 90%;
|
max-width: 90%;
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
#main-container {
|
#main-container {
|
||||||
position: absolute;
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
top: 50%;
|
|
||||||
left: 0;
|
|
||||||
transform: translateY(-50%);
|
|
||||||
width: 100%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#data {
|
#data {
|
||||||
|
|||||||
@ -13,8 +13,6 @@ define([
|
|||||||
var $main = $('#mainBlock');
|
var $main = $('#mainBlock');
|
||||||
var Messages = Cryptpad.Messages;
|
var Messages = Cryptpad.Messages;
|
||||||
|
|
||||||
$('#noscriptContainer').hide();
|
|
||||||
|
|
||||||
// Language selector
|
// Language selector
|
||||||
var $sel = $('#language-selector');
|
var $sel = $('#language-selector');
|
||||||
Cryptpad.createLanguageSelector(undefined, $sel);
|
Cryptpad.createLanguageSelector(undefined, $sel);
|
||||||
|
|||||||
@ -16,8 +16,6 @@ define([
|
|||||||
$(function () {
|
$(function () {
|
||||||
var $main = $('#mainBlock');
|
var $main = $('#mainBlock');
|
||||||
|
|
||||||
$('#noscriptContainer').hide();
|
|
||||||
|
|
||||||
// Language selector
|
// Language selector
|
||||||
var $sel = $('#language-selector');
|
var $sel = $('#language-selector');
|
||||||
Cryptpad.createLanguageSelector(undefined, $sel);
|
Cryptpad.createLanguageSelector(undefined, $sel);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user