File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -921,6 +921,7 @@ Producthunt item
921921 animation-duration : 1.5s ;
922922 animation-name : cardPlaceholderPulse;
923923 animation-iteration-count : infinite;
924+ scroll-snap-align : start;
924925}
925926.mediaCardPlaceholder {
926927 display : flex;
@@ -936,6 +937,7 @@ Producthunt item
936937}
937938.cardPlaceholder .cardContent {
938939 display : flex;
940+ flex : auto;
939941 flex-direction : column;
940942}
941943.cardPlaceholder .cardUpvote {
@@ -970,6 +972,17 @@ Producthunt item
970972 margin-right : 16px ;
971973 border-radius : 4px ;
972974}
975+ .adCardPlaceholder {
976+ max-width : 300px ;
977+ column-gap : 16px ;
978+ display : flex;
979+ flex-direction : row;
980+ }
981+ .adCardPlaceholder .image {
982+ background : var (--placeholder-background-color );
983+ flex : 0 0 120px ;
984+ height : 90px
985+ }
973986
974987.floatingFilter {
975988 background : rgb (44 , 128 , 232 );
Original file line number Diff line number Diff line change 1+ export const AdPlaceholder = ( { className = '' } : { className ?: string } ) => {
2+ return (
3+ < div className = { 'cardPlaceholder adCardPlaceholder' } >
4+ < span className = "image" />
5+ < div className = "cardContent" >
6+ < span className = "line" />
7+ < span className = "smallLine" />
8+ < span className = "smallLine" />
9+ < span className = "smallLine" />
10+ </ div >
11+ </ div >
12+ )
13+ }
Original file line number Diff line number Diff line change 11export * from "./Placeholder"
2- export * from "./ProductHuntPlaceholder"
2+ export * from "./ProductHuntPlaceholder"
3+ export * from "./AdPlaceholder"
You can’t perform that action at this time.
0 commit comments