Commit 8c38477 1 parent 27d7d63 commit 8c38477 Copy full SHA for 8c38477
File tree 2 files changed +11
-4
lines changed
2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 92
92
margin-left : 10px ;
93
93
}
94
94
.team img {
95
- width : 60px ;
96
- height : 60px ;
95
+ max-width : 20% ;
96
+ max-height : 50px ;
97
+ /* 自动缩放 */
98
+ width : auto;
97
99
z-index : 1 ;
98
100
/* 圆形 */
99
101
border-radius : 50% ;
102
104
/* 背景白色 */
103
105
background-color : # fff ;
104
106
}
107
+ .team_name {
108
+ min-width : 50px ;
109
+ /* 行距 */
110
+ line-height : 1.0 ;
111
+ }
105
112
.divider {
106
113
position : absolute;
107
114
width : 0px ;
135
142
< div class ="container ">
136
143
< div class ="team red ">
137
144
< img src ="{{award.red_logo}} " alt ="Red Team Logo ">
138
- < p style ="margin-right: 20px; "> {{ award.red }}</ p >
145
+ < p class =" team_name " style ="margin-right: 20px; "> {{ award.red }}</ p >
139
146
</ div >
140
147
< div class ="divider "> </ div >
141
148
< div class ="score "> {{award.red_score}}:{{award.blue_score}}</ div >
142
149
< div class ="team blue ">
143
- < p style ="margin-left: 20px; "> {{ award.blue }}</ p >
150
+ < p class =" team_name " style ="margin-left: 20px; "> {{ award.blue }}</ p >
144
151
< img src ="{{award.blue_logo}} " alt ="Blue Team Logo ">
145
152
</ div >
146
153
You can’t perform that action at this time.
0 commit comments