1111 <div class =" run-info" >
1212 <div class =" run-date" >
1313 <span class =" icon-calendar" title =" Date" >
14- <svg >< use href = " /src/ assets/icons/calender.svg#icon " /></ svg >
14+ <img src = " @/ assets/icons/calender.svg" alt = " Date " / >
1515 </span >
1616 <span class =" run-date-value" >{{ formatDate(run.created_at) }}</span >
1717 </div >
1818 <div class =" run-detail-row" >
1919 <span class =" icon-distance" title =" Distance" >
20- <svg >< use href = " /src/ assets/icons/ruler.svg#icon " /></ svg >
20+ <img src = " @/ assets/icons/ruler.svg" alt = " Distance " / >
2121 </span >
2222 <span class =" run-detail-label" >Distance:</span >
2323 <span class =" run-detail-value" >{{ run.distance?.toFixed(2) ?? '?' }} km</span >
2424 </div >
2525 <div class =" run-detail-row" >
2626 <span class =" icon-duration" title =" Duration" >
27- <svg >< use href = " /src/ assets/icons/rocket .svg#icon " /></ svg >
27+ <img src = " @/ assets/icons/label .svg" alt = " Duration " / >
2828 </span >
2929 <span class =" run-detail-label" >Duration:</span >
3030 <span class =" run-detail-value" >{{ run.duration ?? '?' }}</span >
@@ -67,7 +67,9 @@ const formatDate = (dateStr: string) => {
6767
6868<style scoped>
6969.run-sidebar {
70- width : 300px ;
70+ width : 340px ;
71+ min-width : 260px ;
72+ max-width : 100% ;
7173 background : #f7f7f7 ;
7274 border-right : 1px solid #ddd ;
7375 overflow-y : auto ;
@@ -106,6 +108,8 @@ const formatDate = (dateStr: string) => {
106108 text-align : left ;
107109 margin-top : 0.2rem ;
108110 color : #222 ;
111+ overflow-wrap : break-word ;
112+ word-break : break-word ;
109113}
110114.run-date {
111115 font-size : 1.05rem ;
@@ -118,6 +122,10 @@ const formatDate = (dateStr: string) => {
118122}
119123.run-date-value {
120124 white-space : nowrap ;
125+ overflow : hidden ;
126+ text-overflow : ellipsis ;
127+ display : block ;
128+ max-width : 100% ;
121129 font-size : 0.97em ;
122130}
123131.run-detail-row {
@@ -134,6 +142,8 @@ const formatDate = (dateStr: string) => {
134142.run-detail-value {
135143 color : #222 ;
136144 font-weight : 600 ;
145+ overflow-wrap : break-word ;
146+ word-break : break-word ;
137147}
138148.icon-calendar ,
139149.icon-distance ,
@@ -145,9 +155,9 @@ const formatDate = (dateStr: string) => {
145155 height : 1.1em ;
146156 vertical-align : middle ;
147157}
148- .icon-calendar svg ,
149- .icon-distance svg ,
150- .icon-duration svg {
158+ .icon-calendar img ,
159+ .icon-distance img ,
160+ .icon-duration img {
151161 width : 1em ;
152162 height : 1em ;
153163 display : block ;
0 commit comments