1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-03-14 17:54:44 +08:00

style: optimize code editor file path style (#8039)

Refs #8015
This commit is contained in:
igophper 2025-03-03 10:23:24 +08:00 committed by GitHub
parent 34df745d1c
commit 186075ff9a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,8 +11,10 @@
> >
<template #header> <template #header>
<div ref="dialogHeader" class="flex items-center justify-between"> <div ref="dialogHeader" class="flex items-center justify-between">
<span>{{ $t('commons.button.edit') + ' - ' + form.path }}</span> <div class="truncate flex-1 mr-2">
<el-space alignment="center" :size="1" class="dialog-header-icon"> <span>{{ $t('commons.button.edit') + ' - ' + form.path }}</span>
</div>
<el-space alignment="center" :size="1" class="dialog-header-icon flex-shrink-0">
<el-tooltip :content="loadTooltip()" placement="top"> <el-tooltip :content="loadTooltip()" placement="top">
<el-button <el-button
@click="toggleFullscreen" @click="toggleFullscreen"