feat(ui): link processing/requested status badges to service URL (#1761)

* feat(ui): link processing/requested status badges to service URL where available

* refactor: add URL prop to Badge component

* fix(css): tweak font weight of media rating values and request card link hover effect

* fix: only set StatusBadge serviceUrl for admins
This commit is contained in:
TheCatLady
2021-10-16 11:53:38 -04:00
committed by GitHub
parent 084a842a4f
commit 032c14a226
8 changed files with 124 additions and 145 deletions

View File

@@ -1,7 +1,6 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@tailwind screens;
html {
min-height: calc(100% + env(safe-area-inset-top));
@@ -182,7 +181,7 @@ a.crew-name,
}
.media-ratings {
@apply flex items-center justify-center px-4 py-2 border-b border-gray-700 last:border-b-0;
@apply flex items-center justify-center px-4 py-2 font-medium border-b border-gray-700 last:border-b-0;
}
.media-rating {
@@ -213,6 +212,10 @@ img.avatar-sm {
@apply mr-2 font-bold;
}
.card-field a {
@apply transition duration-300 hover:text-white hover:underline;
}
.section {
@apply mt-6 mb-10 text-white;
}