Commit 07a7a52f authored by Yuan Zhixiang's avatar Yuan Zhixiang
Browse files

缩短变量显示空间

parent 3c5d0933
...@@ -196,7 +196,7 @@ watch(current_step, () => { ...@@ -196,7 +196,7 @@ watch(current_step, () => {
</script> </script>
<template> <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"> <div class="small-box var-name">
<span v-if="!is_element">{{ display_name }} = </span> <span v-if="!is_element">{{ display_name }} = </span>
<div v-else class="element-index">{{ display_name }}<br></div> <div v-else class="element-index">{{ display_name }}<br></div>
...@@ -291,4 +291,8 @@ watch(current_step, () => { ...@@ -291,4 +291,8 @@ watch(current_step, () => {
font-size: 0.4rem; font-size: 0.4rem;
} }
.inline-block{
display: inline-block;
}
</style> </style>
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment