GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    Kirino Kousaka (kirino@shitpost.cloud)'s status on Thursday, 29-May-2025 23:02:00 JSTKirino KousakaKirino Kousaka
    in reply to
    • Phantasm
    • pistolero
    Fairy fluff (Oh christ I haven't said that in ages.) Does the margin calculate based on char count while the text is just like sat there bing-chilling?

    Okay, in non-retard language:

    I imagine there's not being a calculation applied to text beyond generic word-wrap / whatever the fuck CSS property is being used by the notification gets a calculation based on how long the perceived text would be then renders that in when it gets added to the document?

    So if it's 200 chars it would go "Oh, this will need expanding!" then it will calculate how much to expand based on font-size and all that jazz. When it sees 5,000 (mostly ZWSP) chars though it goes "Nah, fuck that." and has a bit of a panic attack (it doesn't know they're zwsp and treats chars as monospace).

    That would make sense to me since one can be left just to HTML5/CSS3 but one needs to require JS at SOME point to know how to look.

    I'm probably WAAAY off but I could see myself implementing something similar.
    In conversationabout 7 days ago from shitpost.cloudpermalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.