fix: font 정렬, 전체선택->턴 선택
This commit is contained in:
@@ -42,20 +42,20 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.chiefTurnBox .turnHeader{
|
.chiefTurnBox .turnHeader{
|
||||||
font-weight: bold;
|
font-weight: 500;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chiefNamePlate{
|
.chiefNamePlate{
|
||||||
border-top:solid 0.67px #888888;
|
border-top:solid 0.67px #888888;
|
||||||
font-weight: bold;
|
font-weight: 500;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
line-height:21px;
|
line-height:21px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.turnIdxHeader{
|
.turnIdxHeader{
|
||||||
font-weight: bold;
|
font-weight: 500;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
width:20px;
|
width:20px;
|
||||||
}
|
}
|
||||||
@@ -63,7 +63,7 @@
|
|||||||
.chiefTurnTime{
|
.chiefTurnTime{
|
||||||
border-top:solid 0.67px #888888;
|
border-top:solid 0.67px #888888;
|
||||||
border-right:solid 0.67px #888888;
|
border-right:solid 0.67px #888888;
|
||||||
font-weight: bold;
|
font-weight: 500;
|
||||||
background: black;
|
background: black;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
width:44px;
|
width:44px;
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ body {
|
|||||||
background-color: black;
|
background-color: black;
|
||||||
color: white;
|
color: white;
|
||||||
line-height: 1.3;
|
line-height: 1.3;
|
||||||
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
input {
|
input {
|
||||||
|
|||||||
+1
-1
@@ -103,7 +103,7 @@ body {
|
|||||||
#actionMiniPlate {
|
#actionMiniPlate {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 1em;
|
bottom: 0.1em;
|
||||||
width: 290px;
|
width: 290px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<div class="row gx-1">
|
<div class="row gx-1">
|
||||||
<div class="col d-grid">
|
<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="selectAll(true)">모든턴</b-dropdown-item>
|
||||||
<b-dropdown-item @click="selectStep(0, 2)">홀수턴</b-dropdown-item>
|
<b-dropdown-item @click="selectStep(0, 2)">홀수턴</b-dropdown-item>
|
||||||
<b-dropdown-item @click="selectStep(1, 2)">짝수턴</b-dropdown-item>
|
<b-dropdown-item @click="selectStep(1, 2)">짝수턴</b-dropdown-item>
|
||||||
|
|||||||
@@ -153,11 +153,11 @@ async function reloadTable() {
|
|||||||
turnList[turnIdx].turnTime.text('');
|
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 oWidth = unwrap(turnList[turnIdx].turnPad.innerWidth());
|
||||||
const iWidth = unwrap(turnList[turnIdx].turnText.outerWidth());
|
const iWidth = unwrap(turnList[turnIdx].turnText.outerWidth());
|
||||||
if (iWidth > oWidth * 0.95) {
|
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`);
|
turnList[turnIdx].turnText.css('font-size', `${newFontSize}px`);
|
||||||
}
|
}
|
||||||
if (turnTimeObj) {
|
if (turnTimeObj) {
|
||||||
|
|||||||
Reference in New Issue
Block a user