当前位置:网站首页>Small program van-cell line wrapping can be left-aligned
Small program van-cell line wrapping can be left-aligned
2022-08-02 03:40:00 【suzhiwei_boke】

The value attribute of van-cell is right-aligned by default. At this time, when we only want to display information, we can use right-alignment for parent elements, inline block elements for child elements, and left-alignment
/* Solve the situation that multiple lines can be left-aligned */.van-cell__value>text{display: inline-block;text-align: left;word-break: break-all; // newline can display all characters} {{mainData.title}} 边栏推荐
猜你喜欢
随机推荐
js basics
远程调试、无cuDnn、自定义模块无法导入问题记录
Debian 10 NTP Service Configuration
---静态页面---
Cut out web icons through PS 2021
pyppeteer使用样例脚本
微信小程序九宫格抽奖和转盘抽奖的实现
sh: 1: curl: not found
Cloud server installation and deployment of Nacos 2.0.4 version
How to check whether a table is locked in mysql
page load process
docker中配置mysql 5.7
DSPE-PEG-DBCO Phospholipid-Polyethylene Glycol-Dibenzocyclooctyne A Linear Heterobifunctional Pegylation Reagent
第一篇博客
js 数组去重的常用方法
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
Questions about your resume
Advanced gradient of skeleton effect, suitable for waiting for pictures
Relative and absolute paths
UserWarning:火炬。meshgrid:在以后的版本中,它将被要求通过索引ing argu









