Skip to content

Commit 70ef1b5

Browse files
committed
contact-solver: fixing images benchmark
1 parent e818c72 commit 70ef1b5

File tree

2 files changed

+21
-7
lines changed

2 files changed

+21
-7
lines changed

publications/simple-contact-solver/index.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -184,15 +184,15 @@ <h2 class="title is-3">Abstract</h2>
184184
<div class="column is-four-fifths">
185185
<h2 class="title is-3">Benchmarks</h2>
186186
<div class="content has-text-justified">
187-
<div class="row">
188-
<div class="column">
189-
<image src="./static/images/ur5.png" alt="Computational time for UR5 robot." style="width:30%">
187+
<div class="results-row">
188+
<div class="results-column">
189+
<image src="./static/images/ur5.png" alt="Computational time for UR5 robot." style="width:100%">
190190
</div>
191-
<div class="column">
192-
<image src="./static/images/humanoid.png" alt="Computational time for MuJoCo humanoid." style="width:30%">
191+
<div class="results-column">
192+
<image src="./static/images/humanoid.png" alt="Computational time for MuJoCo humanoid." style="width:100%">
193193
</div>
194-
<div class="column">
195-
<image src="./static/images/cassie.png" alt="Computational time for Cassie robot." style="width:30%">
194+
<div class="results-column">
195+
<image src="./static/images/cassie.png" alt="Computational time for Cassie robot." style="width:100%">
196196
</div>
197197
</div>
198198
</div>

publications/simple-contact-solver/static/css/index.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,20 @@ body {
127127
margin: 0;
128128
}
129129

130+
/* Three image containers (use 25% for four, and 50% for two, etc) */
131+
.results-column {
132+
float: left;
133+
width: 33.33%;
134+
padding: 5px;
135+
}
136+
137+
/* Clear floats after image containers */
138+
.results-row::after {
139+
content: "";
140+
clear: both;
141+
display: table;
142+
}
143+
130144

131145
.interpolation-panel {
132146
background: #f5f5f5;

0 commit comments

Comments
 (0)