File tree Expand file tree Collapse file tree 4 files changed +24
-14
lines changed
src/components/MultiDisplay Expand file tree Collapse file tree 4 files changed +24
-14
lines changed Original file line number Diff line number Diff line change 88 // update,
99} from 'firebase/database' ;
1010// @ts -ignore
11- import { Textfit } from '@gmurph91/react-textfit' ;
11+ // import { Textfit } from '@gmurph91/react-textfit';
1212import { useEffect , useState } from 'preact/hooks' ;
1313import DoubleEliminationBracketMapping , {
1414 BracketMatchNumber ,
@@ -209,12 +209,12 @@ const PlayoffRow = ({
209209 { /* Use event short name */ }
210210 { useShortName && (
211211 < div
212- className = { `${ styles . textCenter } ${ styles . bold } ` }
213- style = { { width : '15vw' } }
212+ className = { `${ styles . textLeft } ${ styles . bold } ${ styles . eventName } ` }
213+ // style={{ width: '15vw', fontSize: '8.5vw ' }}
214214 >
215- < Textfit mode = "single" forceSingleModeWidth max = "300" >
215+ { /* <Textfit mode="single" forceSingleModeWidth max="300"> */ }
216216 { event . nameShort || event . name }
217- </ Textfit >
217+ { /* </Textfit> */ }
218218 </ div >
219219 ) }
220220 </ td >
Original file line number Diff line number Diff line change 99 // update,
1010} from 'firebase/database' ;
1111// @ts -ignore
12- import { Textfit } from '@gmurph91/react-textfit' ;
12+ // import { Textfit } from '@gmurph91/react-textfit';
1313import styles from '../sharedStyles.module.scss' ;
1414import { Break , MatchOrBreak , QualMatchData } from '@/models/MatchData' ;
1515import AllianceFader from '../AllianceFader' ;
@@ -218,12 +218,12 @@ const QualRow = ({
218218 { /* Use event short name */ }
219219 { useShortName && (
220220 < div
221- className = { `${ styles . textCenter } ${ styles . bold } ` }
222- style = { { width : '15vw' } }
221+ className = { `${ styles . textLeft } ${ styles . bold } ${ styles . eventName } ` }
222+ // style={{ width: '15vw', fontSize: '8.5vw ' }}
223223 >
224- < Textfit mode = "single" forceSingleModeWidth max = "300" >
224+ { /* <Textfit mode="single" forceSingleModeWidth max="300"> */ }
225225 { event . nameShort || event . name }
226- </ Textfit >
226+ { /* </Textfit> */ }
227227 </ div >
228228 ) }
229229 </ td >
Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ $cell-vertical-negative: -3vh;
99 text-align : center ;
1010}
1111
12+ .textLeft {
13+ text-align : left !important ;
14+ }
15+
1216.matchNumber {
1317 text-align : center ;
1418 font-size : $matchnumber-size ;
@@ -18,6 +22,12 @@ $cell-vertical-negative: -3vh;
1822 line-height : 0.8 ;
1923}
2024
25+ .eventName {
26+ text-align : left ;
27+ font-size : calc ($matchnumber-size * 0.8 );
28+ font-weight : bold ;
29+ }
30+
2131.noTeamNumbers .matchNumber {
2232 top : 0 ;
2333 font-size : calc ($matchnumber-size * 0.9 );
Original file line number Diff line number Diff line change @@ -42,10 +42,10 @@ const MultiQueueing = () => {
4242 < table >
4343 < thead >
4444 < tr style = { { textAlign : 'center' , fontSize : '7vh' } } >
45- < th style = { { width : '18vw ' , borderRight : '6px solid white' } } > { clock } </ th >
46- < th style = { { width : '27.33vw ' } } > On Field</ th >
47- < th style = { { width : '27.33vw ' } } > Up Next</ th >
48- < th style = { { width : '27.33vw ' } } > Queueing</ th >
45+ < th style = { { width : '22vw ' , borderRight : '6px solid white' } } > { clock } </ th >
46+ < th style = { { width : '26vw ' } } > On Field</ th >
47+ < th style = { { width : '26vw ' } } > Up Next</ th >
48+ < th style = { { width : '26vw ' } } > Queueing</ th >
4949 </ tr >
5050 </ thead >
5151 < tbody >
You can’t perform that action at this time.
0 commit comments