From 2170f1db6ee40531f9d08b711d8b7b00254c0031 Mon Sep 17 00:00:00 2001 From: kimsible Date: Mon, 20 Jul 2020 14:12:00 +0200 Subject: [PATCH] Fix accessibility action buttons and display on imports and followers list --- .../followers-list.component.html | 4 ++-- .../my-account-video-imports.component.html | 2 +- .../shared-main/buttons/button.component.html | 2 +- .../buttons/delete-button.component.html | 2 +- client/src/sass/primeng-custom.scss | 20 +------------------ 5 files changed, 6 insertions(+), 24 deletions(-) diff --git a/client/src/app/+admin/follows/followers-list/followers-list.component.html b/client/src/app/+admin/follows/followers-list/followers-list.component.html index 48b5681f4..ce603459e 100644 --- a/client/src/app/+admin/follows/followers-list/followers-list.component.html +++ b/client/src/app/+admin/follows/followers-list/followers-list.component.html @@ -44,8 +44,8 @@ - - + + diff --git a/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.html b/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.html index 3e07550c1..4caa076a3 100644 --- a/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.html +++ b/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.html @@ -45,7 +45,7 @@ {{ videoImport.createdAt | date: 'short' }} - + diff --git a/client/src/app/shared/shared-main/buttons/button.component.html b/client/src/app/shared/shared-main/buttons/button.component.html index a7dd4bb10..8eccd5c3c 100644 --- a/client/src/app/shared/shared-main/buttons/button.component.html +++ b/client/src/app/shared/shared-main/buttons/button.component.html @@ -1,4 +1,4 @@ - + diff --git a/client/src/app/shared/shared-main/buttons/delete-button.component.html b/client/src/app/shared/shared-main/buttons/delete-button.component.html index 398b6db1e..6643e6013 100644 --- a/client/src/app/shared/shared-main/buttons/delete-button.component.html +++ b/client/src/app/shared/shared-main/buttons/delete-button.component.html @@ -1,4 +1,4 @@ - + {{ label }} diff --git a/client/src/sass/primeng-custom.scss b/client/src/sass/primeng-custom.scss index a9a950dc0..2388c0469 100644 --- a/client/src/sass/primeng-custom.scss +++ b/client/src/sass/primeng-custom.scss @@ -79,15 +79,6 @@ p-table { tr { &:hover { background-color: pvar(--submenuColor) !important; - - .action-cell { - .dropdown-root, - my-edit-button, - my-delete-button, - my-button { - display: inline-block !important; - } - } } td { @@ -164,18 +155,9 @@ p-table { my-edit-button, my-delete-button, my-button { - display: none !important; + display: inline-block !important; margin-left: 5px; - &.show { - display: inline-block !important; - } - - // keep displaying on touchscreen - @media not all and (hover: hover) and (pointer: fine) { - display: inline-block !important; - } - :first-child { margin-left: 0 } -- 2.41.0