angular-material - mat-horizontal-stepper steps going out of view
问题描述
I am using Mat-Horizontal-stepper and I have more than 12 steps. I am rendering the stepper in Mat-Card component. The issue is that mat stepper steps are going out of card container and causing horizontal scroll. Is there any way to fix this issue?
解决方案
你可以改变你mat-horizontal-stepper
的 by <mat-vertical-stepper>
,这样就不会有水平溢出的问题。
在其他情况下,您可以尝试为类添加一些样式.mat-horizontal-stepper-header-container
推荐阅读
- sql-server - 给定字符串的字符移位
- java - 如何改进我的 Java 代码以生成所有已知的完美数字?
- angular - 无法列出惰性路由:未知模块 './src/app/app.module#AppModule'
- github - 默认情况下如何使用 .gitattributes 在 github 中扩展 package-lock.json 差异
- sql - 合并开始日期和结束日期循环日期
- symfony - 如何在 Symfony 中轻松覆盖 SEO Sulu CMS 页面扩展?
- sql - 转换数据并使查询自定义并另存为视图
- python - OpenCV 从 pyspark 读取图像并传递给 Keras 模型
- matplotlib - 使用 plt scatter 绘制图形(仅显示 4 个点)
- airflow - 将 pyfile 和参数传递给 DataProcPySparkOperator