Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit af9589a

Browse files
bootstrap fix grid
1 parent e04037c commit af9589a

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

‎src/App.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,9 @@
3131
}
3232

3333
.span-margin{
34-
margin-right: 5px;
34+
margin-right: 10px;
35+
}
36+
37+
.card{
38+
text-align: center !important;
3539
}

‎src/Components/Card.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import React, { Component } from "react";
22

33
const Card = ({ title, text, previewUrl }) => (
4-
<div className="col-md-4">
5-
<div className="card " style={{ width: "18rem" }}>
4+
<div className="col-md-4">
5+
<div className="card " style={{ width: "18rem","textAlign": "centre" }}>
66
<img
77
className="card-img-top img-responsive"
88
src={previewUrl}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /