Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: replace ticket list item shadow with background #1095

Merged
merged 2 commits into from
Apr 5, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
feat: apply line clamp on ticket subject
  • Loading branch information
ssiyad committed Apr 5, 2023
commit 0e2cd7f9935585d060ee4233550bd6123f6629a0
2 changes: 1 addition & 1 deletion desk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dependencies": {
"@headlessui/vue": "^1.7.12",
"@tailwindcss/line-clamp": "^0.4.2",
"@tailwindcss/line-clamp": "^0.4.4",
"@vee-validate/zod": "^4.8.2",
"@vitejs/plugin-vue": "^4.0.0",
"autoprefixer": "^10.4.13",
Expand Down
2 changes: 1 addition & 1 deletion desk/src/components/desk/tickets/TicketSummary.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div class="leading-relaxed">
<router-link :to="toRoute">
<div class="whitespace-pre-wrap" :class="{ 'font-semibold': !isSeen }">
<div class="line-clamp-2" :class="{ 'font-semibold': !isSeen }">
{{ subject }}
</div>
</router-link>
Expand Down
8 changes: 4 additions & 4 deletions desk/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -207,10 +207,10 @@
dependencies:
mini-svg-data-uri "^1.2.3"

"@tailwindcss/line-clamp@^0.4.2":
version "0.4.2"
resolved "https://registry.yarnpkg.com/@tailwindcss/line-clamp/-/line-clamp-0.4.2.tgz#f353c5a8ab2c939c6267ac5b907f012e5ee130f9"
integrity sha512-HFzAQuqYCjyy/SX9sLGB1lroPzmcnWv1FHkIpmypte10hptf4oPUfucryMKovZh2u0uiS9U5Ty3GghWfEJGwVw==
"@tailwindcss/line-clamp@^0.4.4":
version "0.4.4"
resolved "https://registry.yarnpkg.com/@tailwindcss/line-clamp/-/line-clamp-0.4.4.tgz#767cf8e5d528a5d90c9740ca66eb079f5e87d423"
integrity sha512-5U6SY5z8N42VtrCrKlsTAA35gy2VSyYtHWCsg1H87NU1SXnEfekTVlrga9fzUDrrHcGi2Lb5KenUWb4lRQT5/g==

"@tailwindcss/typography@^0.5.0":
version "0.5.9"
Expand Down