From 725fa31e7759990350a6422daef50b392af7971a Mon Sep 17 00:00:00 2001 From: Liyas Thomas Date: Thu, 9 Jan 2020 06:01:31 +0530 Subject: [PATCH] :art: Improved structure and format of the code --- README.md | 9 ++-- components/modal.vue | 7 ++- layouts/default.vue | 25 +++++++--- pages/index.vue | 113 +++++++++++++++++++++++++++---------------- 4 files changed, 101 insertions(+), 53 deletions(-) diff --git a/README.md b/README.md index a125da8db..c27261def 100644 --- a/README.md +++ b/README.md @@ -89,8 +89,7 @@ _Customized themes are synced with local session storage_ 🔌 **WebSocket**: Establish full-duplex communication channels over a single TCP connection. - Send and receive data - - Basic authentication using username and password - - Token based authentication + - Basic and Bearer Token authentication 📡 **Server Sent Events**: Receive a stream of updates from a server over a HTTP connection without resorting to polling. @@ -106,8 +105,10 @@ _Customized themes are synced with local session storage_ **Types:** - None - - Basic authentication using username and password - - Token based authentication + - Basic + - Bearer Token + - OAuth 2.0 + - OIDC Access Token/PKCE (Proof Key for Code Exchange) 📢 **Headers**: Describes the format the body of your request is being sent as. diff --git a/components/modal.vue b/components/modal.vue index 24a79dd23..c80b24be9 100644 --- a/components/modal.vue +++ b/components/modal.vue @@ -44,12 +44,17 @@ display: flex; flex-grow: 1; flex-direction: column; - margin: 8px; + margin: 16px; padding: 16px; transition: all 0.2s ease; background-color: var(--bg-color); border-radius: 16px; box-shadow: 0px 16px 70px rgba(0, 0, 0, 0.5); + max-height: calc(100vh - 32px); +} + +.modal-body { + overflow: auto; } /* diff --git a/layouts/default.vue b/layouts/default.vue index 62bee0068..7587f416b 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -418,27 +418,22 @@
-
⌘ G
-
⌘ S
-
⌘ K
-
⌘ L
-
@@ -458,11 +453,19 @@
+

+ If you have enjoyed the productivity of using Postwoman, consider + donating as a sign of appreciation. +

+

+ You can support Postwoman development via the following methods: +

@@ -959,7 +967,7 @@
  • -
    +
  • - +
  • @@ -1008,11 +1016,17 @@
  • +

    + Empty +

    - +
    • @@ -1041,27 +1055,30 @@ > input -
    - @@ -1069,12 +1086,14 @@
    • - -
    • + +
    • - +