From a9db76e24b01a638f039bd060d509d00d3bb4273 Mon Sep 17 00:00:00 2001 From: Grzegorz Leoniec Date: Sat, 29 Dec 2018 18:36:17 +0100 Subject: [PATCH] fixed post card links --- assets/styles/main.scss | 12 +++ components/PostCard.vue | 201 ++++++++++++++++++++++------------------ layouts/default.vue | 6 -- 3 files changed, 122 insertions(+), 97 deletions(-) diff --git a/assets/styles/main.scss b/assets/styles/main.scss index e9254c4b9..e56007577 100644 --- a/assets/styles/main.scss +++ b/assets/styles/main.scss @@ -126,3 +126,15 @@ hr { background-color: $color-neutral-80; height: 1px !important; } + +[class$=menu-trigger] { + user-select: none; +} +[class$=menu-popover] { + display: inline-block; + + nav { + margin-left: -17px; + margin-right: -15px; + } +} diff --git a/components/PostCard.vue b/components/PostCard.vue index d8466f2ad..2ae3e4b37 100644 --- a/components/PostCard.vue +++ b/components/PostCard.vue @@ -1,97 +1,92 @@ + + diff --git a/layouts/default.vue b/layouts/default.vue index 6bf42691e..bcd7a46ab 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -138,17 +138,11 @@ export default { float: right; } -.avatar-menu-trigger { - user-select: none; -} .avatar-menu-popover { - display: inline-block; padding-top: 0.5rem; padding-bottom: 0.5rem; nav { - margin-left: -15px; - margin-right: -15px; padding-top: 1rem; padding-bottom: 1rem; }