Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion frontend/src/lang/modules/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2341,7 +2341,7 @@ const message = {
all: 'All',
version: 'Version',
detail: 'Details',
params: 'Edit parameters',
params: 'Parameters',
author: 'Author',
source: 'Source',
appName: 'Application Name',
Expand Down
52 changes: 26 additions & 26 deletions frontend/src/views/app-store/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,39 +13,39 @@

.a-detail {
.d-name {
.d-name-row {
gap: 8px;
min-width: 0;
}

.name-actions {
flex: 1;
min-width: 0;
flex-wrap: nowrap;
overflow: hidden;
}

.operate-actions {
flex-shrink: 0;
}

.name-wrap {
min-width: 0;
max-width: clamp(140px, 22vw, 320px);
flex-shrink: 1;
margin-right: 4px;
overflow: hidden;
}

.name {
display: block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-weight: 500;
font-size: 18px;
color: var(--panel-text-color);

max-width: 100px;

@media (min-width: 576px) {
max-width: 120px;
}

@media (min-width: 768px) {
max-width: 150px;
}

@media (min-width: 992px) {
max-width: 180px;
}

@media (min-width: 1200px) {
max-width: 220px;
}

@media (min-width: 1600px) {
max-width: 280px;
}

@media (min-width: 1920px) {
max-width: 350px;
}
max-width: 100%;
}

.status {
Expand Down
10 changes: 5 additions & 5 deletions frontend/src/views/app-store/installed/app/header.vue
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<template>
<div class="d-name">
<div class="flex items-center justify-between">
<div class="min-w-50 flex items-center justify-start gap-1">
<el-button link type="info">
<div class="d-name-row flex items-center justify-between">
<div class="name-actions flex items-center justify-start gap-1">
<div class="name-wrap">
<el-tooltip :content="installed.name" placement="top">
<span class="name">{{ installed.name }}</span>
</el-tooltip>
</el-button>
</div>
<span class="status">
<Status :key="installed.status" :status="installed.status"></Status>
</span>
Expand Down Expand Up @@ -94,7 +94,7 @@
</el-tooltip>
</span>
</div>
<div class="flex flex-wrap items-center justify-end gap-1">
<div class="operate-actions flex flex-wrap items-center justify-end gap-1">
<el-button
class="h-button"
plain
Expand Down
8 changes: 6 additions & 2 deletions frontend/src/views/app-store/setting/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<el-form
:model="config"
label-position="left"
label-width="180px"
class="ml-2.5"
label-width="260px"
class="ml-2.5 app-setting-form"
v-loading="loading"
:rules="rules"
ref="configForm"
Expand Down Expand Up @@ -142,6 +142,10 @@ onMounted(() => {
</script>

<style lang="css" scoped>
.app-setting-form :deep(.el-form-item__label) {
white-space: nowrap;
}

.logText {
line-height: 22px;
font-size: 12px;
Expand Down
Loading