Commit 4acc648b authored by yPhil's avatar yPhil

Feed: Prevent long lines (URLs) from breaking li.feedItem

parent 2fc9017a
......@@ -23,6 +23,7 @@
"fancybox": "3.2.5",
"intro.js": "2.7.0",
"remotestorage": "rs#1.0.2",
"rs-widget": "1.3.0"
"rs-widget": "1.3.0",
"jquery.hotkeys": "jQuery.Hotkeys#0.2.0"
}
}
......@@ -274,19 +274,6 @@
"resolved": "https://registry.npmjs.org/charm/-/charm-0.1.2.tgz",
"integrity": "sha1-BsIe7RobBq62dVPNxT4jJ0usIpY="
},
"cheerio": {
"version": "1.0.0-rc.2",
"resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.0.0-rc.2.tgz",
"integrity": "sha1-S59TqBsn5NXawxwP/Qz6A8xoMNs=",
"requires": {
"css-select": "1.2.0",
"dom-serializer": "0.1.0",
"entities": "1.1.1",
"htmlparser2": "3.9.2",
"lodash": "4.17.4",
"parse5": "3.0.3"
}
},
"chokidar": {
"version": "1.7.0",
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-1.7.0.tgz",
......@@ -670,6 +657,21 @@
"requires": {
"cheerio": "1.0.0-rc.2",
"request": "2.83.0"
},
"dependencies": {
"cheerio": {
"version": "1.0.0-rc.2",
"resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.0.0-rc.2.tgz",
"integrity": "sha1-S59TqBsn5NXawxwP/Qz6A8xoMNs=",
"requires": {
"css-select": "1.2.0",
"dom-serializer": "0.1.0",
"entities": "1.1.1",
"htmlparser2": "3.9.2",
"lodash": "4.17.4",
"parse5": "3.0.3"
}
}
}
},
"filename-regex": {
......
{
"name": "petrolette",
"description": "A RSS/Atom morning news reader ; Works at night too.",
"description": "Fly-by-night news reading webapp.",
"version": "1.0.4",
"private": true,
"license": "GPL-3.0-only",
......@@ -9,7 +9,7 @@
},
"repository": {
"type": "git",
"url": "https://bitbucket.org/yphil/petrolette"
"url": "https://framagit.org/yphil/petrolette"
},
"scripts": {
"start": "pm2 start bin/www --watch --log-date-format='YYYY-MM-DD HH:mm Z' --name petrolette",
......
......@@ -954,6 +954,18 @@ li.feedItem {
background-color: var(--bg-color-sec) !important;
font-size: 10pt !important;
padding: .2rem;
/* These are technically the same, but use both */
overflow-wrap: break-word;
word-wrap: break-word;
word-break: break-word;
/* Adds a hyphen where the word breaks, if supported (No Blink) */
-ms-hyphens: auto;
-moz-hyphens: auto;
-webkit-hyphens: auto;
hyphens: auto;
}
li.feedItem a {
......
......@@ -33,6 +33,9 @@
<script src="/bower/jquery/dist/jquery.min.js"></script>
<script src="/bower/jquery-ui/jquery-ui.min.js"></script>
<script src="/bower/jquery.hotkeys/jquery.hotkeys.js"></script>
<script src="/bower/intro.js/minified/intro.min.js"></script>
<script src="/bower/fancybox/dist/jquery.fancybox.min.js"></script>
<script src="/bower/remotestorage/release/remotestorage.js"></script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment