Comments (6)
If I counted correctly, it currently fits 92 characters.
Should be 80, as per the HTML.
from dfeed.
I didn't notice the cols
. 92 may have been because I had browser scaling when I loaded the page that I unscaled after loading when I tested so maybe that caused something funny. Seems to be coming in at 82 right now though. I believe the css width: 657px
is overriding the cols setting. In any case, I think it should be cols="66"
with no css width specified.
from dfeed.
I believe the css
width: 657px
is overriding the cols setting.
Where is that rule?
from dfeed.
I feel like you are gaslighting me by uploading changes as I refresh, heh. First time I looked in Developer Tools elements view (not the source though) it was 700-something px, then it was 657px, and now it's gone. Chrome must be gaslighting me. Sorry for the confusion.
Anyway, how does cols=66
sound to you?
from dfeed.
I don't know. It sounds a bit cramped.
The rationale behind the 80 columns value was that this is the recommendation for the maximum width of a line. The intent is that we would somehow provide some form of control over how user text is wrapped, but we don't do that now - we just wrap everything at 66 chars.
There's more than one way to improve on this:
- Actually acting on format=flowed when we display messages, instead of just for wrapping. That means that we remove line breaks from all posts and let the browser wrap the message to the container width (and perhaps restrict the container width so it doesn't result in really long lines on wide screens). If we do this, the 66-long lines will only be visible to other user agents which do not rewrap text according to format=flowed.
- Improving wrapping. There is a patch in #26 I still need to get to.
- Providing a way to preview wrapping. #24
from dfeed.
Actually acting on format=flowed when we display messages, instead of just for wrapping.
That sounds great. I didn't notice there was already work related to this being done. Let's just close this and let it get solved by these better options.
from dfeed.
Related Issues (20)
- Posting doesn't go through; "Posting status" page keeps refreshing HOT 2
- stuck unread reply HOT 1
- Forum hyperlink parser doesn't recognize + signs as part of the link
- Markdown formatting mangles pasted code HOT 10
- Markdown tables spuriously fail HOT 4
- identify really old messages you are replying to HOT 9
- Allow specialized markdown header for NNTP posts HOT 37
- corrupted gravatar link HOT 5
- Refresh "read threads" state when navigating back using bfcache HOT 1
- Text not wrapping at browser edge HOT 5
- Private repo activity is showing up in feed
- A button to list all created threads
- Wrong quote nesting as a result of slightly broken markdown syntax HOT 3
- Add moderation complaint email to footer HOT 10
- Lock threads to prevent comments
- IRC link in header is outdated
- Markdown does not support double spaces as a line-break. HOT 3
- Dark theme HOT 3
- Compilation is broken HOT 3
- running locally doesn't work as expected anymore HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.