fix: text bleeding buttons in profile and donate-form (#35399)
<!-- Please follow this checklist and put an x in each of the boxes, like this: [x]. It will ensure that our team takes your pull request seriously. --> - [x] I have read [freeCodeCamp's contribution guidelines](https://github.com/freeCodeCamp/freeCodeCamp/blob/master/CONTRIBUTING.md). - [x] My pull request has a descriptive title (not a vague title like `Update index.md`) - [x] My pull request targets the `master` branch of freeCodeCamp. - [x] None of my changes are plagiarized from another source without proper attribution. - [x] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.) - [x] My changes do not use shortened URLs or affiliate links. <!--If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.--> Closes #35265
This commit is contained in:
committed by
mrugesh mohapatra
parent
0a228ab8e8
commit
1c4d57dfb3
@ -22,7 +22,7 @@
|
|||||||
.donation-form {
|
.donation-form {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
width:80%;
|
width: 80%;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
@ -58,6 +58,10 @@
|
|||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.donation-form .btn {
|
||||||
|
white-space: normal;
|
||||||
|
}
|
||||||
|
|
||||||
.modal-close-btn-container {
|
.modal-close-btn-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
@ -80,7 +84,6 @@
|
|||||||
.StripeElement--focus {
|
.StripeElement--focus {
|
||||||
border-color: #66afe9;
|
border-color: #66afe9;
|
||||||
outline: 0;
|
outline: 0;
|
||||||
box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
|
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
|
||||||
|
0 0 8px rgba(102, 175, 233, 0.6);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -9,6 +9,7 @@ import { Button, Row, Col } from '@freecodecamp/react-bootstrap';
|
|||||||
import { userByNameSelector } from '../../../redux';
|
import { userByNameSelector } from '../../../redux';
|
||||||
import FullWidthRow from '../../helpers/FullWidthRow';
|
import FullWidthRow from '../../helpers/FullWidthRow';
|
||||||
import { ButtonSpacer, Spacer } from '../../helpers';
|
import { ButtonSpacer, Spacer } from '../../helpers';
|
||||||
|
import './certifications.css';
|
||||||
|
|
||||||
const mapStateToProps = (state, props) =>
|
const mapStateToProps = (state, props) =>
|
||||||
createSelector(
|
createSelector(
|
||||||
@ -116,7 +117,7 @@ function renderCertShow(username, cert) {
|
|||||||
return cert.show ? (
|
return cert.show ? (
|
||||||
<Fragment key={cert.title}>
|
<Fragment key={cert.title}>
|
||||||
<Row>
|
<Row>
|
||||||
<Col sm={10} smPush={1}>
|
<Col className='certifications' sm={10} smPush={1}>
|
||||||
<Link to={`/certification/${username}/${cert.showURL}`}>
|
<Link to={`/certification/${username}/${cert.showURL}`}>
|
||||||
<Button
|
<Button
|
||||||
block={true}
|
block={true}
|
||||||
@ -143,7 +144,7 @@ function Certificates({
|
|||||||
}) {
|
}) {
|
||||||
const renderCertShowWithUsername = curry(renderCertShow)(username);
|
const renderCertShowWithUsername = curry(renderCertShow)(username);
|
||||||
return (
|
return (
|
||||||
<FullWidthRow>
|
<FullWidthRow className='certifications'>
|
||||||
<h2 className='text-center'>freeCodeCamp Certifications</h2>
|
<h2 className='text-center'>freeCodeCamp Certifications</h2>
|
||||||
<br />
|
<br />
|
||||||
{hasModernCert ? (
|
{hasModernCert ? (
|
||||||
|
@ -0,0 +1,3 @@
|
|||||||
|
.certifications .btn {
|
||||||
|
white-space: normal;
|
||||||
|
}
|
Reference in New Issue
Block a user