Hi,
I need help changing the style of a card with a repeater inside.
This is the code of the custom widget:
uid: Styled Row
tags: []
props:
parameters:
- default: Styled Row with repeater
description: "Default: 'Styled Row with repeater'"
label: Title
name: title
required: false
type: TEXT
- context: item
default: Iterate
description: Items to iterate
label: Groups of items to iterate
name: iterate
required: true
type: TEXT
- description: Card background color. Hex or RGBA.
label: Background color
name: bgcolor
required: false
type: TEXT
parameterGroups: []
timestamp: Feb 10, 2023, 12:09:10 PM
component: f7-card
config:
style:
background-color: "=props.bgcolor ? props.bgcolor : ''"
border-radius: var(--f7-card-expandable-border-radius)
box-shadow: 5px 5px 10px 1px rgba(0,0,0,0.1)
noShadow: false
title: =props.title
slots:
default:
- component: f7-row
slots:
default:
- component: f7-col
slots:
default:
- component: oh-list
slots:
default:
- component: oh-repeater
config:
for: i
groupItem: =props.iterate
sourceType: itemsInGroup
slots:
default:
- component: oh-list-item
config:
icon: f7:app
iconColor: green
item: =loop.i.name
title: =loop.i.label
There are some things I’d like to change but I don’t know how. This is how the widget looks in a computer:
And this is how it looks in an iPhone:
- As you can see, the card title is bold in the computer but not in iOS. How can I make it bold in iOS?
- How can I remove the line between the title and the content of the card?
- How can I remove the lines between the repeater items?
- How can I increase the left padding of the repeater items?
Thank you.