Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Yuan Zhixiang
c-render-vue
Commits
07a7a52f
Commit
07a7a52f
authored
May 14, 2024
by
Yuan Zhixiang
Browse files
缩短变量显示空间
parent
3c5d0933
Changes
1
Show whitespace changes
Inline
Side-by-side
src/components/VarUnit.vue
View file @
07a7a52f
...
...
@@ -196,7 +196,7 @@ watch(current_step, () => {
</
script
>
<
template
>
<div
v-if=
"is_data"
class=
"big-box"
:class=
"
{ 'element-box': is_element }">
<div
v-if=
"is_data"
class=
"big-box
inline-block
"
:class=
"
{ 'element-box': is_element }">
<div
class=
"small-box var-name"
>
<span
v-if=
"!is_element"
>
{{
display_name
}}
=
</span>
<div
v-else
class=
"element-index"
>
{{
display_name
}}
<br></div>
...
...
@@ -291,4 +291,8 @@ watch(current_step, () => {
font-size
:
0.4rem
;
}
.inline-block
{
display
:
inline-block
;
}
</
style
>
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment