mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 07:34:03 -06:00
FIX: fix the model name display issue under project page
JIRA STUDIO-4625 Change-Id: I9d9627967dcec845f66422e06eadfd2bfe964bb9
This commit is contained in:
parent
faf2a85311
commit
dc0193076a
4 changed files with 27 additions and 4 deletions
|
@ -50,7 +50,7 @@
|
|||
<div id="Model_Basic" class="InfoBlock">
|
||||
<div id="Model_Name_Area" class="Text_TitleBoard">
|
||||
<div id="Model_Name_Line" class="Text_TitleArea">
|
||||
<div class="Text_Title" ><span class="trans" tid='t98' >Model name</span><span>:</span><span id="ModelName" style="margin-left: 8px;">xxxxxxxxxx</span></div>
|
||||
<div class="Text_Title" id="ModelNameBar" ><div class="trans" tid='t98' >Model name</div><div>:</div><div title="xxxxxxxxxx" id="ModelName" style="margin-left: 8px;">xxxxxxxxxx</div></div>
|
||||
<div><span id="ModelAuthorType" class="trans" tid='t92'>Model Author</span><span>:</span><span id="ModelAuthorName" style="margin-left: 8px;" class="Text_Value">xxxxxxx</span></div>
|
||||
</div>
|
||||
<div id="ModelLicenceImg"><img src="img/by-nc-nd.png"></div>
|
||||
|
|
|
@ -81,7 +81,7 @@ body
|
|||
{
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
color: black;
|
||||
color: black;
|
||||
}
|
||||
|
||||
.Text_Value
|
||||
|
@ -103,9 +103,31 @@ body
|
|||
.Text_TitleArea div
|
||||
{
|
||||
height: 32px;
|
||||
line-height: 32px
|
||||
line-height: 32px;
|
||||
}
|
||||
|
||||
#Model_Name_Line
|
||||
{
|
||||
width: 800px;
|
||||
}
|
||||
|
||||
#ModelNameBar
|
||||
{
|
||||
width: 100%;
|
||||
display: flex;
|
||||
overflow:hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
#ModelName
|
||||
{
|
||||
overflow:hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
|
||||
.Block_BKGA
|
||||
{
|
||||
background-color: white;
|
||||
|
|
|
@ -209,6 +209,7 @@ function ShowModelInfo( pModel )
|
|||
SendWXDebugInfo("Model Name: "+sModelName);
|
||||
|
||||
$('#ModelName').html(sModelName);
|
||||
$('#ModelName').attr('title',sModelName);
|
||||
$('#ModelAuthorName').html(sModelAuthor);
|
||||
|
||||
switch(UploadType)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
var TestProjectData={
|
||||
"model": {
|
||||
"name": "xxxxxxxxxxxxxxxxxxxxxxxxx easy print",
|
||||
"name": "xxxxxxxxxxxxxxxxxxxxxxxxx easy printeasy printeasy printeasy printeasy printeasy printeasy printeasy printeasy printeasy printeasy printeasy printeasy printeasy printeasy printeasy printeasy printeasy printeasy print",
|
||||
"author": "Zorro Zhang",
|
||||
"upload_type": "share",
|
||||
"license": "CC0",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue