Template:Composition bar: Difference between revisions

From PoliticalSG
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 1: Line 1:
<div style="width: 100%; background-color: #e6e6e6; border: 1px solid #ccc; height: 100%; position: relative;">
<div style="width: 100%; background-color: #e6e6e6; border: 1px solid #ccc; height: 100%; position: relative; display: flex; align-items: center; justify-content: center;">
   <div style="width: {{{1}}}%; background-color: {{#switch: {{{party|}}}
   <div style="width: {{{1}}}%; background-color: {{#switch: {{{party|}}}
     | PAP = #2b58ab
     | PAP = #2b58ab

Revision as of 21:11, 16 November 2024

 {{{1}}}%