File tree Expand file tree Collapse file tree 1 file changed +19
-8
lines changed
packages/@vue/cli-ui/src/components Expand file tree Collapse file tree 1 file changed +19
-8
lines changed Original file line number Diff line number Diff line change 25
25
<span class =" version" >{{ pkg.version }}</span >
26
26
</template >
27
27
<template slot="description">
28
- <span class =" info description" >
28
+ <span
29
+ class =" info description"
30
+ v-tooltip =" pkg.description"
31
+ >
29
32
<ais-highlight
30
33
:result =" pkg"
31
34
attribute-name =" description"
@@ -110,6 +113,9 @@ export default {
110
113
.list-item-info
111
114
flex 100% 1 1
112
115
width 0
116
+ >>> .description
117
+ display inline - flex
118
+ align-items baseline
113
119
114
120
.name
115
121
font-weight bold
@@ -121,13 +127,18 @@ export default {
121
127
.info
122
128
space-between-x (6px )
123
129
124
- .description
125
- font-style italic
130
+ & .description
131
+ font-style italic
132
+ max-width 550px
133
+ white-space nowrap
134
+ text-overflow ellipsis
135
+ display block
136
+ overflow hidden
126
137
127
- .downloads
128
- text-transform uppercase
138
+ & .downloads
139
+ text-transform uppercase
129
140
130
- .owner
131
- .vue-ui-icon
132
- margin-right 2px
141
+ & .owner
142
+ .vue-ui-icon
143
+ margin-right 2px
133
144
</style >
You can’t perform that action at this time.
0 commit comments