fix: style bug

This commit is contained in:
Vick Scarlet
2021-09-06 15:13:35 +08:00
parent 84785f3e40
commit 403621be40
4 changed files with 6 additions and 9 deletions

File diff suppressed because one or more lines are too long

View File

@@ -153,12 +153,9 @@ class App{
<div id="total" style="font-size:1rem; font-weight:normal;">可用属性点0</div>
</div>
<ul id="propertyAllocation" class="propinitial"></ul>
<ul class="propinitial" style="top:auto; bottom:23rem">
<li>已选天赋</li>
</ul>
<ul class="selectlist" id="talentSelectedView" style="top:auto; bottom:16rem"></ul>
<button id="random" class="mainbtn" style="top:auto; bottom:7rem">随机分配</button>
<button id="start" class="mainbtn" style="top:auto; bottom:0.1rem">开始新人生</button>
<ul class="selectlist" id="talentSelectedView" style="top:calc(100% - 17rem); bottom:7rem"></ul>
<button id="random" class="mainbtn" style="top:auto; bottom:0.1rem; left:auto; right:50%; transform: translate(-2rem,-50%);">随机分配</button>
<button id="start" class="mainbtn" style="top:auto; bottom:0.1rem; left:50%; right:auto; transform: translate(2rem,-50%);">开始新人生</button>
</div>
`);
propertyPage.mounted = ()=>{

View File

@@ -274,7 +274,7 @@ body {
.propinitial {
top: 5rem;
bottom: 14rem;
bottom: 17rem;
}
.propbtn:hover{

View File

@@ -270,7 +270,7 @@ body {
.propinitial {
top: 5rem;
bottom: 14rem;
bottom: 17rem;
}
.propinitial > li {