feat: change button design, change textpic mobile layout
This commit is contained in:
parent
ba359c07a5
commit
58d041c473
3 changed files with 15 additions and 14 deletions
|
|
@ -5,16 +5,6 @@
|
|||
<f:asset.css identifier="CBTextImage" href="{cb:assetPath()}/frontend.css" />
|
||||
|
||||
<div class="textimage-container image-pos-{data.imageorient}">
|
||||
<div class="textimage-wrapper">
|
||||
<f:if condition="{data.header}">
|
||||
<h2 class="textimage-header">{data.header}</h2>
|
||||
</f:if>
|
||||
<f:if condition="{data.bodytext}">
|
||||
<div class="textimage-text">
|
||||
<f:format.html>{data.bodytext}</f:format.html>
|
||||
</div>
|
||||
</f:if>
|
||||
</div>
|
||||
<div class="textimage-image-wrapper">
|
||||
<f:if condition="{data.image}">
|
||||
<f:then>
|
||||
|
|
@ -25,5 +15,15 @@
|
|||
</f:else>
|
||||
</f:if>
|
||||
</div>
|
||||
<div class="textimage-wrapper">
|
||||
<f:if condition="{data.header}">
|
||||
<h2 class="textimage-header">{data.header}</h2>
|
||||
</f:if>
|
||||
<f:if condition="{data.bodytext}">
|
||||
<div class="textimage-text">
|
||||
<f:format.html>{data.bodytext}</f:format.html>
|
||||
</div>
|
||||
</f:if>
|
||||
</div>
|
||||
</div>
|
||||
</f:section>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue