Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

style(item): add .tile--selected highlight; apply line-clamp

aspen2b381bd1351e
diff --git a/src/components/LinkItems/Item.vue b/src/components/LinkItems/Item.vue
index 5ddc8d87..88c0f82f 100644
--- a/src/components/LinkItems/Item.vue
+++ b/src/components/LinkItems/Item.vue
@@ -259,6 +259,11 @@ export default {
}
&:focus {
outline: 2px solid var(--primary);
+ box-shadow: 0 0 0 3px rgba(0,0,0,0.05), var(--item-shadow);
+ }
+ &.tile--selected {
+ outline: 2px solid var(--primary);
+ box-shadow: 0 0 0 3px rgba(0,0,0,0.05), var(--item-shadow);
}
&.add-new {
border: 2px dashed var(--primary) !important;
@@ -279,6 +284,7 @@ export default {
z-index: 2;
display: -webkit-box;
-webkit-line-clamp: 3;
+ line-clamp: 3; /* standard property for compatibility */
-webkit-box-orient: vertical;
word-break: keep-all;
overflow: hidden;