How to remove empty space in React and Bootstrap 5

I’m writing a pet project that needs to be mobile responsive and I have a problem with white space in the Carousel component, I don’t know how to remove it, can someone help me? This is looks like page on PC https://imgur.com/a/3zwNDnl This is looks like mobile devices https://imgur.com/a/qEwPDdC And I want to remove the… Read More How to remove empty space in React and Bootstrap 5

React-Bootstrap cols not showing side by side and shows in new line

I am trying to add Bootstrap into my react project with material. Here is one of my component import { styled } from "@mui/material/styles"; import Paper from "@mui/material/Paper"; import Container from "react-bootstrap/Container"; import Row from "react-bootstrap/Row"; import Col from "react-bootstrap/Row"; export default function RecipeLanding() { const Item = styled(Paper)(({ theme }) => ({ backgroundColor: theme.palette.mode… Read More React-Bootstrap cols not showing side by side and shows in new line

React-Bootstrap 2022: Modal Will Not Close When X button clicked

I have been designing an web app using react and react bootstrap. In my case, I use a cdn to load the bootstrap css files and bootstrap.min.js in addition to using the react-bootstrap library. Everything works fine, except for the close button. The close button seems to do nothing at all. MessageBox.js: import Modal from… Read More React-Bootstrap 2022: Modal Will Not Close When X button clicked

React JS Bootstrap Column layout not working

I have a simple card using Mui mui/material. I want to layout the content using bootstrap col-xs-12 col-sm-6 col-md-3. I’ve already installed bootstrap to my project using npm install –save bootstrap, however the columns layout is not working. Can someone let me know if I did something wrong? <div className="container gallery-container"> <div className="tz-gallery"> <div className="row">… Read More React JS Bootstrap Column layout not working

Table Sticky header – Only the text is moving

I am making a table using react-bootstrap link Table component: <Table ordered hover> <thead> <tr> <th>Headers…</th> … </tr> </thead> <tbody> <tr><td>Content here…</td></tr> </tbody> </Table> Table content has been omitted for brevity. This table has a lot of content, and thus I want the table’s content to be scrollable, with the table header remaining sticky at… Read More Table Sticky header – Only the text is moving

using props to get value from a table

I am trying to build one table using props, and pass the value from that table to another function. But for some reason, the result is not displaying. What have I done wrong? import Table from "https://cdn.skypack.dev/react-bootstrap@2.5.0&quot;; function Tables(props) { return ( <Table> <thead> <tr> <th>a</th> <th>b</th> <th>c</th> </tr> </thead> <tbody> <tr> <td>{props.first}</td> <td>{props.second}</td> <td>{props.third}</td>… Read More using props to get value from a table