File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed
components/Contentful/ArticleCard/themes Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 66 border-radius : 10px ;
77 overflow : hidden ;
88 position : relative ;
9+ cursor : pointer ;
910
1011 @include xs-to-sm {
1112 background : #f4f4f4 ;
Original file line number Diff line number Diff line change @@ -44,6 +44,12 @@ export default class EDUSearch extends React.Component {
4444 // eslint-disable-next-line no-nested-ternary
4545 urlQuery . tags = _ . isArray ( urlQuery . tags )
4646 ? urlQuery . tags : ( urlQuery . tags ? [ urlQuery . tags ] : [ ] ) ;
47+ if ( urlQuery . phrase && urlQuery . phrase . length > 115 ) {
48+ urlQuery . phrase = urlQuery . phrase . substring ( 0 , 114 ) ;
49+ }
50+ if ( urlQuery . title && urlQuery . title . length > 115 ) {
51+ urlQuery . title = urlQuery . title . substring ( 0 , 114 ) ;
52+ }
4753 this . setState ( {
4854 query : urlQuery ,
4955 } ) ;
Original file line number Diff line number Diff line change 5555 text-transform : uppercase ;
5656
5757 @include xs-to-sm {
58- font-size : 70 px ;
59- letter-spacing : 0.44 px ;
60- line-height : 60 px ;
58+ font-size : 42 px ;
59+ letter-spacing : 0 ;
60+ line-height : 38 px ;
6161 margin-top : 533px ;
6262 }
6363 }
You can’t perform that action at this time.
0 commit comments