@fluid-topics/ft-card 1.2.50 → 1.2.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -60,6 +60,15 @@ export const styles = css `
60
60
  display: none;
61
61
  }
62
62
 
63
+ #container.no-content {
64
+ grid-template: "header actions";
65
+ grid-template-columns: minmax(0, 1fr) max-content;
66
+ }
67
+
68
+ #container.no-content #content {
69
+ display: none;
70
+ }
71
+
63
72
  #container.selected {
64
73
  outline-style: ${FtCardCssVariables.selectedOutlineStyle};
65
74
  outline-width: ${FtCardCssVariables.selectedOutlineWidth};
@@ -81,14 +90,16 @@ export const styles = css `
81
90
  #header {
82
91
  grid-area: header;
83
92
  color: ${FtCardCssVariables.colorOnSurfaceHigh};
84
- }
85
-
86
- .title {
87
93
  text-overflow: ellipsis;
88
94
  overflow: hidden;
89
95
  word-break: break-word;
90
96
  }
91
97
 
98
+ .one-line-header #header {
99
+ white-space: nowrap;
100
+ word-break: unset;
101
+ }
102
+
92
103
  #content {
93
104
  word-break: break-word;
94
105
  min-width: 0; /* like with flexbox, some items have a hard time shrinking when necessary */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-card",
3
- "version": "1.2.50",
3
+ "version": "1.2.51",
4
4
  "description": "A file uploader with drag and drop",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,10 +19,10 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-ripple": "1.2.50",
23
- "@fluid-topics/ft-typography": "1.2.50",
24
- "@fluid-topics/ft-wc-utils": "1.2.50",
22
+ "@fluid-topics/ft-ripple": "1.2.51",
23
+ "@fluid-topics/ft-typography": "1.2.51",
24
+ "@fluid-topics/ft-wc-utils": "1.2.51",
25
25
  "lit": "3.1.0"
26
26
  },
27
- "gitHead": "2cc419b6e01ae50f6ecba171e7b700507a6a85a0"
27
+ "gitHead": "f37803963479545409bdddea3571d34dbad90413"
28
28
  }