fix: font 정렬, 전체선택->턴 선택

This commit is contained in:
2021-12-07 00:51:20 +09:00
parent fcb8da95ca
commit 33a1681536
5 changed files with 9 additions and 8 deletions
+4 -4
View File
@@ -42,20 +42,20 @@
}
.chiefTurnBox .turnHeader{
font-weight: bold;
font-weight: 500;
text-align: center;
}
.chiefNamePlate{
border-top:solid 0.67px #888888;
font-weight: bold;
font-weight: 500;
text-align: center;
flex-grow: 1;
line-height:21px;
}
.turnIdxHeader{
font-weight: bold;
font-weight: 500;
text-align: center;
width:20px;
}
@@ -63,7 +63,7 @@
.chiefTurnTime{
border-top:solid 0.67px #888888;
border-right:solid 0.67px #888888;
font-weight: bold;
font-weight: 500;
background: black;
text-align: center;
width:44px;
+1
View File
@@ -8,6 +8,7 @@ body {
background-color: black;
color: white;
line-height: 1.3;
font-size: 14px;
}
input {
+1 -1
View File
@@ -103,7 +103,7 @@ body {
#actionMiniPlate {
position: absolute;
right: 0;
bottom: 1em;
bottom: 0.1em;
width: 290px;
}
+1 -1
View File
@@ -6,7 +6,7 @@
<div class="row gx-1">
<div class="col d-grid">
<b-dropdown right split @click="selectAll" text="전체선택">
<b-dropdown left text="선택">
<b-dropdown-item @click="selectAll(true)">모든턴</b-dropdown-item>
<b-dropdown-item @click="selectStep(0, 2)">홀수턴</b-dropdown-item>
<b-dropdown-item @click="selectStep(1, 2)">짝수턴</b-dropdown-item>
+2 -2
View File
@@ -153,11 +153,11 @@ async function reloadTable() {
turnList[turnIdx].turnTime.text('');
}
turnList[turnIdx].turnText.html(turnText).css('font-size', '13px');
turnList[turnIdx].turnText.html(turnText).css('font-size', '14px');
const oWidth = unwrap(turnList[turnIdx].turnPad.innerWidth());
const iWidth = unwrap(turnList[turnIdx].turnText.outerWidth());
if (iWidth > oWidth * 0.95) {
const newFontSize = 13 * oWidth / iWidth * 0.9;
const newFontSize = 14 * oWidth / iWidth * 0.9;
turnList[turnIdx].turnText.css('font-size', `${newFontSize}px`);
}
if (turnTimeObj) {