javascript - 有没有办法在 React/Nextjs 上将 nuka-carousel 点的大小更改为稍大一些?
问题描述
我有一个需要自定义点大小的核子旋转木马。但我不知道如何改变它的大小和边距。
解决方案
此 CSS 将帮助您实现目标。但是请尝试在控制台中更改 CSS 并在将来自行解决。
.slider-control-bottomcenter button{
background: black !important;
border-radius: 50%;
width: 26px !important; // change this according to your requirement
height: 26px !important; // change this according to your requirement
}
.slider-control-bottomcenter svg{
display: none !important; // as in this situation these is no use of the svg
}
.slider-control-bottomcenter li{
margin-right: 5px;
}
推荐阅读
- asp.net-core - 在区域使用特定状态码错误页面 | ASP.NET 核心
- c++ - 有没有办法将 reinterpret_cast 重新解释为 virtual derived* 并从父级调用 override?
- reactjs - 在 useEffect 中销毁 Chart js - React
- python - 引用不是通过列表理解创建的矩阵单元
- oracle - 如何在单个表上为 lob 列使用标量子查询?
- android-studio - 如何在 Recyclerview 中实现 CountDownTimer?
- sql - 如何在Ruby的继承父方法中获取子类?
- c# - 在工作服务而不是控制台应用程序中运行 Discord 机器人?
- python - Dockerfile:无法打开文件'./main.py':[Errno 2]没有这样的文件或目录
- c++ - 如何在vscode中使用微软C++扩展的调试器查看容器的内容(eq:std::vector)?