text areas use unintuitive "hyphens" css #87

Closed
opened 2018-04-22 04:34:38 +00:00 by shmibs · 2 comments
Member

text areas in pleroma-fe are ragged-right aligned, but they also use the
"hyphens: auto;" tag, which leads to unintuitive behaviour. the following
screenshot demonstrates how this might lead to ambiguity.

in this image, the first instance of a "-" on the right-hand side of the screen
is auto inserted by the browser and does not exist in the text itself. the
following two dashes, on the other hand, were manually inserted between two
words. not only is there no way to tell these two apart, there is no real
reason to have them, as the text area is ragged-right to begin with.

suggested change would be "hyphens: none;"

2018-1524371221

text areas in pleroma-fe are ragged-right aligned, but they also use the "hyphens: auto;" tag, which leads to unintuitive behaviour. the following screenshot demonstrates how this might lead to ambiguity. in this image, the first instance of a "-" on the right-hand side of the screen is auto inserted by the browser and does not exist in the text itself. the following two dashes, on the other hand, were manually inserted between two words. not only is there no way to tell these two apart, there is no real reason to have them, as the text area is ragged-right to begin with. suggested change would be "hyphens: none;" ![2018-1524371221](/attachments/c99eec87-7a72-459c-b501-f67a93bce004)
Owner

i actually like that feature. maybe i'll make it customizable, especially since hyphens work differently depending on what lang= is set for element/document

i actually like that feature. maybe i'll make it customizable, especially since hyphens work differently depending on what `lang=` is set for element/document
Owner

ok, after looking into it i found that hyphens in inputs are not intended and actually a bug for replies. Also having them in do more harm than good, so i'll fix it without making it customizable.

ok, after looking into it i found that hyphens in inputs are not intended and actually a bug for replies. Also having them in do more harm than good, so i'll fix it without making it customizable.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pleroma/pleroma-fe#87
No description provided.