GNU bug report logs -
#75296
[PATCH website] website: blog: Avoid long words overflowing in post previews.
Previous Next
Reported by: sirgazil <at> zoho.com
Date: Thu, 2 Jan 2025 18:37:02 UTC
Severity: normal
Tags: patch
Done: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 75296 in the body.
You can then email your comments to 75296 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#75296
; Package
guix-patches
.
(Thu, 02 Jan 2025 18:37:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
sirgazil <at> zoho.com
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Thu, 02 Jan 2025 18:37:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From: Luis Felipe <sirgazil <at> zoho.com>
This prevents long, unbreakable text (e.g. a commit hash) in post
previews, from overflowing and overlapping the content of other
previews.
* website/themes/initial/css/item-preview.css (.item-preview): Hide
overflow.
---
website/themes/initial/css/item-preview.css | 1 +
1 file changed, 1 insertion(+)
diff --git a/website/themes/initial/css/item-preview.css b/website/themes/initial/css/item-preview.css
index 16e698f..750047a 100644
--- a/website/themes/initial/css/item-preview.css
+++ b/website/themes/initial/css/item-preview.css
@@ -5,6 +5,7 @@
.item-preview:visited {
color: #4D4D4D;
display: block;
+ overflow: hidden;
padding: 10px 15px;
text-align: left;
}
base-commit: 53f18814bd231acb5f452de8b511d3260013ca79
--
2.46.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#75296
; Package
guix-patches
.
(Fri, 03 Jan 2025 12:56:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 75296 <at> debbugs.gnu.org (full text, mbox):
Hi,
I think “overflow-wrap: break-word;” would be more appropriate, as it
does not cut off information or letters in half.
Good evening,
Noé
> From: Luis Felipe <sirgazil <at> zoho.com>
>
> This prevents long, unbreakable text (e.g. a commit hash) in post
> previews, from overflowing and overlapping the content of other
> previews.
>
> * website/themes/initial/css/item-preview.css (.item-preview): Hide
> overflow.
> ---
> website/themes/initial/css/item-preview.css | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/website/themes/initial/css/item-preview.css b/website/themes/initial/css/item-preview.css
> index 16e698f..750047a 100644
> --- a/website/themes/initial/css/item-preview.css
> +++ b/website/themes/initial/css/item-preview.css
> @@ -5,6 +5,7 @@
> .item-preview:visited {
> color: #4D4D4D;
> display: block;
> + overflow: hidden;
> padding: 10px 15px;
> text-align: left;
> }
>
> base-commit: 53f18814bd231acb5f452de8b511d3260013ca79
> --
> 2.46.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#75296
; Package
guix-patches
.
(Fri, 03 Jan 2025 15:18:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 75296 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi Noé,
On 3/01/25 12:56, Noé Lopez wrote:
> Hi,
>
> I think “overflow-wrap: break-word;” would be more appropriate, as it
> does not cut off information or letters in half.
I think you're right. But how about using both? That way, long text
would be wrapped, and other kinds of content that could extend beyond
the container's area would be prevented from overflowing.
Thanks for reviewing.
[OpenPGP_0x0AB0D067012F08C3.asc (application/pgp-keys, attachment)]
[OpenPGP_signature.asc (application/pgp-signature, attachment)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#75296
; Package
guix-patches
.
(Sat, 04 Jan 2025 18:25:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 75296 <at> debbugs.gnu.org (full text, mbox):
From: Luis Felipe <sirgazil <at> zoho.com>
* website/themes/initial/css/item-preview.css (.item-preview): Break
long words and avoid other possible long, unbreakable content from
extending beyond the area of the container.
---
website/themes/initial/css/item-preview.css | 2 ++
1 file changed, 2 insertions(+)
diff --git a/website/themes/initial/css/item-preview.css b/website/themes/initial/css/item-preview.css
index 16e698f..76d1970 100644
--- a/website/themes/initial/css/item-preview.css
+++ b/website/themes/initial/css/item-preview.css
@@ -5,6 +5,8 @@
.item-preview:visited {
color: #4D4D4D;
display: block;
+ overflow: hidden;
+ overflow-wrap: break-word;
padding: 10px 15px;
text-align: left;
}
base-commit: 53f18814bd231acb5f452de8b511d3260013ca79
--
2.46.0
Reply sent
to
"pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>
:
You have taken responsibility.
(Mon, 06 Jan 2025 12:24:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
sirgazil <at> zoho.com
:
bug acknowledged by developer.
(Mon, 06 Jan 2025 12:24:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 75296-done <at> debbugs.gnu.org (full text, mbox):
Pushed as 0dad82394930d827738f9cf8c9bbb7fa6ace7965.
Thank you Luis and Noé.
Regards,
Florian
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 04 Feb 2025 12:24:16 GMT)
Full text and
rfc822 format available.
This bug report was last modified 37 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.