react-bootstrap - Can't change width of React Bootstrap button
问题描述
Can someone tell me how to change the width of my React bootstrap button?
I am just playing around with it
I've imported the Button component from react-bootstrap which I've added
import {Button, ButtonGroup } from 'react-bootstrap';
The button seems to have a max width of 100. How can I increase the width of the button to 200 for example?
<Button
class="btn btn-outline-primary mr-xl-5 w-100"
...
>{ctrl.label}</Button>
解决方案
推荐阅读
- python - Python:从Shapefile迭代Dataframe中的多边形到彩色地图
- r - AnnotationForge 函数 makeOrgPackage 中的“重复行”错误
- vim - 按光标位置拆分文件
- r - 在同一张图中绘制不同的变量R-ggplot2
- rust - 如何在 Rust 中将变量传递给 actix-web guard()?
- wcf - 请求通道在 00:00:59.9844002 之后等待回复时超时。收到此错误
- xpath - 使用 ImportXML 拉取 URL 和锚点
- .net-core - 授权有效,但角色在 JWT 的 dotnet 核心中不起作用
- json - Postgresql:在json数组对象中追加元素
- matlab - 如何使用 Matlab 绘制边界值问题的近似解?