Add tool_name display in tool marketplace and fix alignment
This commit is contained in:
parent
f1c8054754
commit
0a702791df
@ -74,6 +74,9 @@
|
|||||||
{{ tool.category }}
|
{{ tool.category }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="tool-name" v-if="tool.tool_name || tool.name">
|
||||||
|
{{ tool.tool_name || tool.name }}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="tool-description" v-if="tool.description">
|
<div class="tool-description" v-if="tool.description">
|
||||||
@ -564,6 +567,9 @@ watch(() => localStorage.getItem('itemsPerPage'), (newValue) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.tool-header {
|
.tool-header {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -572,6 +578,9 @@ watch(() => localStorage.getItem('itemsPerPage'), (newValue) => {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 12px;
|
gap: 12px;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
flex: 1;
|
||||||
|
min-width: 0;
|
||||||
|
margin-right: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tool-title-section h3 {
|
.tool-title-section h3 {
|
||||||
@ -605,6 +614,29 @@ watch(() => localStorage.getItem('itemsPerPage'), (newValue) => {
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tool-name {
|
||||||
|
color: #6b7280;
|
||||||
|
font-size: 10px;
|
||||||
|
font-weight: 500;
|
||||||
|
font-family: 'SF Mono', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
|
||||||
|
background: transparent;
|
||||||
|
border: 1px solid #d1d5db;
|
||||||
|
border-radius: 12px;
|
||||||
|
padding: 4px 10px;
|
||||||
|
text-align: center;
|
||||||
|
min-width: 70px;
|
||||||
|
letter-spacing: 0.3px;
|
||||||
|
transition: all 0.2s ease;
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tool-name:hover {
|
||||||
|
border-color: #9ca3af;
|
||||||
|
color: #374151;
|
||||||
|
transform: translateY(-1px);
|
||||||
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
||||||
|
}
|
||||||
|
|
||||||
.tool-description {
|
.tool-description {
|
||||||
color: #6b7280;
|
color: #6b7280;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user