当前位置:网站首页>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}}
边栏推荐
- FreeRTOS内核详解(1) —— 临界段保护原理
- [Basic Tutorial of Remote Control Development 1] Crazy Shell Open Source Formation Drone-GPIO (Remote Control Indicator Light Control)
- 最新,每天填坑,Jeston TX1 精卫填坑,第一步:刷机
- 微信小程序云开发之券码领取,怎么防止用户领取到相同的数据?
- 第一篇博客
- 啃瓜记录第一天
- subprocess.CalledProcessError: Command ‘pip install ‘thop‘‘ returned non-zero exit status 1.
- Source Insight 使用教程(2)——常用功能
- 小程序 van-cell 换行能左对齐问题
- 微信小程序怎么批量生成带参数的小程序码?
猜你喜欢
STM32 map文件解析
我的小笔记 =》其他东东
UserWarning:火炬。meshgrid:在以后的版本中,它将被要求通过索引ing argu
语义分割标签即像素值的巨坑,transforms.ToTensor()的错误使用
环形链表---------约瑟夫问题
Phospholipid-polyethylene glycol-thiol, DSPE-PEG-Thiol, DSPE-PEG-SH, MW: 5000
如何查看一个现有的keil工程之前由什么版本的keil IDE编译
nucleo stm32 h743 FREERTOS CUBE MX配置小记录
云服务器安装部署Nacos2.0.4版本
远程调试、无cuDnn、自定义模块无法导入问题记录
随机推荐
A senior test engineer asked me these questions as soon as the interview came
环形链表---------约瑟夫问题
SSM integration
简单黑马头条项目
DOM操作---放大镜案例
URL URL
debian 10 nat and routing forwarding
cross-domain problem solving
微信小程序云开发-证件照的实现
C语言的变长数组
nucleo stm32 h743 FREERTOS CUBE MX配置小记录
针对简历上的问题
np.isnan ()
Phospholipid-polyethylene glycol-hydrazide, DSPE-PEG-Hydrazide, DSPE-PEG-HZ, MW: 5000
由中序遍历和前序遍历得到后序遍历(树的遍历)
6.24今日学习
广州华为面试总结
C语言入门小游戏—三子棋
PCL—point cloud data segmentation
Usage of JOIN in MySQL