Merge pull request #3229 from wallabag/fix-mobile-view

Fix mobile view and update asset deps
This commit is contained in:
Thomas Citharel 2017-06-15 09:56:39 +02:00 committed by GitHub
commit 7e271553fe
9 changed files with 664 additions and 622 deletions

View File

@ -256,8 +256,7 @@ $(document).ready(() => {
========================================================================== */
$('article a[href^="http"]').after(
() => `<a href="${$(this).attr('href')}" class="add-to-wallabag-link-after" ` +
'title="add to wallabag"></a>',
() => `<a href="${$(this).attr('href')}" class="add-to-wallabag-link-after" title="add to wallabag"></a>`,
);
$('.add-to-wallabag-link-after').click((event) => {

View File

@ -18,12 +18,6 @@ body {
border-bottom: 1px solid #ddd;
}
nav,
body:not(.entry) main,
footer {
padding-left: 240px;
}
main,
#content,
.valign-wrapper {

View File

@ -2,16 +2,19 @@
Media queries
========================================================================== */
@media only screen and (min-width: 992px) {
nav,
body:not(.entry) main,
footer {
padding-left: 240px;
}
}
@media only screen and (max-width: 992px) {
header,
main,
footer {
padding-left: 0;
}
nav,
main,
footer {
footer,
nav {
padding-left: 0;
}

View File

@ -36,13 +36,13 @@
"url": "https://github.com/wallabag/wallabag/issues"
},
"devDependencies": {
"autoprefixer": "^6.7.7",
"autoprefixer": "^7.1.1",
"babel-core": "^6.24.1",
"babel-eslint": "^7.2.3",
"babel-loader": "^7.0.0",
"babel-preset-env": "^1.4.0",
"css-loader": "^0.28.0",
"eslint": "^3.19.0",
"eslint": "^4.0.0",
"eslint-config-airbnb-base": "^11.1.3",
"eslint-loader": "^1.7.1",
"eslint-plugin-import": "^2.2.0",
@ -50,9 +50,9 @@
"file-loader": "^0.11.0",
"lato-font": "^3.0.0",
"node-sass": "^4.5.2",
"postcss-loader": "^1.3.3",
"postcss-loader": "^2.0.5",
"sass-loader": "^6.0.3",
"style-loader": "^0.16.1",
"style-loader": "^0.18.2",
"stylelint": "^7.9.0",
"stylelint-config-standard": "^16.0.0",
"stylelint-webpack-plugin": "^0.7.0",

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1244
yarn.lock

File diff suppressed because it is too large Load Diff