WIP: This addresses formatting issues when favorites on a post exceed 1k #233

Closed
drudge wants to merge 4 commits from (deleted):develop into develop
Contributor

I've added specific selectors for the favorites and retweets to increase the em value to 5 from 4 for those two, and additionally centered the quote button inside its flex container so that it looks a bit better with the change in sizing

Let me know if there is a more correct way I should do this

Issue being referenced: AkkomaGang/pleroma-fe#198

I've added specific selectors for the favorites and retweets to increase the `em` value to 5 from 4 for those two, and additionally centered the quote button inside its flex container so that it looks a bit better with the change in sizing Let me know if there is a more correct way I should do this Issue being referenced: https://akkoma.dev/AkkomaGang/pleroma-fe/issues/198
drudge added 3 commits 2022-11-24 02:14:10 +00:00
drudge added 1 commit 2022-11-24 04:11:09 +00:00
ci/woodpecker/pr/woodpecker Pipeline was successful Details
9829f86f03
cleaned up scss

thanks - but this makes the empty spacing look pretty... off

image

i reckon we could probably fix this with the following:

.status-actions {
    position: relative;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    margin-top: var(--status-margin, $status-margin);

    > * {
      min-width: fit-content;
      flex: 1;
    }
  }

which seems to work on both large and very very small displays

image
image
image

thanks - but this makes the empty spacing look pretty... off ![image](/attachments/60e2bc9e-b807-4d60-8197-3064d6c713b4) i reckon we could probably fix this with the following: ```scss .status-actions { position: relative; width: 100%; display: flex; flex-wrap: wrap; justify-content: left; margin-top: var(--status-margin, $status-margin); > * { min-width: fit-content; flex: 1; } } ``` which seems to work on both large and very very small displays ![image](/attachments/704f3480-4a2f-477e-81d6-fc04bda3e81a) ![image](/attachments/058480ed-89d1-4b21-961b-46edeb0e372a) ![image](/attachments/65b716f1-4fd2-494e-86be-4d01c98aebef)
drudge closed this pull request 2022-11-26 07:54:33 +00:00
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful

Pull request closed

Sign in to join this conversation.
No description provided.