~cytrogen/masto-fe

bdce78187c27d9484a37d8f2a7d686ed1210ccfe — Claire 2 years ago 9b094f3
[Glitch] Fix layout of the closed registrations modal

Port fe31571965a6b261165342ec97d11d67f0fae12b to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
1 files changed, 38 insertions(+), 0 deletions(-)

M app/javascript/flavours/glitch/styles/components/modal.scss
M app/javascript/flavours/glitch/styles/components/modal.scss => app/javascript/flavours/glitch/styles/components/modal.scss +38 -0
@@ 1413,6 1413,44 @@ img.modal-warning {
    }
  }

  &__choices {
    display: flex;
    gap: 40px;

    &__choice {
      flex: 1;
      box-sizing: border-box;

      h3 {
        margin-bottom: 20px;
      }

      p {
        color: $darker-text-color;
        margin-bottom: 20px;
        font-size: 15px;
      }

      .button {
        margin-bottom: 10px;

        &:last-child {
          margin-bottom: 0;
        }
      }
    }
  }

  @media screen and (max-width: $no-gap-breakpoint - 1px) {
    &__choices {
      flex-direction: column;

      &__choice {
        margin-top: 40px;
      }
    }
  }

  .link-button {
    font-size: inherit;
    display: inline;