ATProto Browser

ATProto Browser

Experimental browser for the Atmosphere

Post

I wish there were a way to round values between units. For example, if I pass 1.1em, instead of rounding to 1em, it would round the resulting value in pixels.

Mar 19, 2025, 9:50 PM

Record data

{
  "uri": "at://did:plc:eaimln3uk5ntgmykcbxrmsyp/app.bsky.feed.post/3lkr62rbh5s2f",
  "cid": "bafyreidnlc5w3ob4cwroitg6sg4jvl4a6qebbgjxcuwuv3saoz2rcmkbhi",
  "value": {
    "text": "I wish there were a way to round values between units. For example, if I pass 1.1em, instead of rounding to 1em, it would round the resulting value in pixels.",
    "$type": "app.bsky.feed.post",
    "langs": [
      "en"
    ],
    "reply": {
      "root": {
        "cid": "bafyreic67f66altg4ifdbzul6pty22mcahtnsqhajkrm455skkdueqc3vi",
        "uri": "at://did:plc:i2r4fkz7ge35u5tbcj2ntasf/app.bsky.feed.post/3lkr5ku26w22l"
      },
      "parent": {
        "cid": "bafyreic67f66altg4ifdbzul6pty22mcahtnsqhajkrm455skkdueqc3vi",
        "uri": "at://did:plc:i2r4fkz7ge35u5tbcj2ntasf/app.bsky.feed.post/3lkr5ku26w22l"
      }
    },
    "createdAt": "2025-03-19T21:50:11.708Z"
  }
}