mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-25 17:10:29 +00:00
Fix mobile view and update asset deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
f93a3109a5
commit
f99ebec0f2
9 changed files with 664 additions and 622 deletions
|
@ -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) => {
|
||||
|
|
|
@ -18,12 +18,6 @@ body {
|
|||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
|
||||
nav,
|
||||
body:not(.entry) main,
|
||||
footer {
|
||||
padding-left: 240px;
|
||||
}
|
||||
|
||||
main,
|
||||
#content,
|
||||
.valign-wrapper {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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
Loading…
Reference in a new issue