For panorama overlays when their title is clicked, in the popup, the Title and the Primary Label are left-justified, as on the left side of the below screenshot. Is it possible somehow for the Title and the Primary Label to be centered, as on the right side of the below screenshot?

The code that I am currently using for title is:
Code
<span style="color:yellow"><small>Marnix School ( Sep 1961 - Jan 1968 )</small></span>
Code
<small>
<span class="label primary">Marnix School<br>Gosieweg, Rio Canario, Curaçao, Netherlands Antilles<br><br>[ © Google ]</span>
<br>
We left Curaçao 7 January 1968, and arrived in Canada 4 February 1968.
<br>
<br>
<span class="label primary">Single-file equirectangular format</span>
<span class="label bg2">16384*8192 px</span>
<span class="label bg2">3.37 MB</span>
<span class="label bg2">Feb 2018</span>
</small>
Thank you in advance, and have yourself a great day.