React Component with CSS grid doesnt layout properlyHow to recompile ExtJs 5 theme with custom scss addedWindows 8.1 xaml stretch doesnt shrink buttonreact-router - pass props to handler componentCan you force a React component to rerender without calling setState?How to conditionally add attributes to React components?Detect click outside React componentOverlay component on Grid layout in React.jsAlign items in a gridUsing CSS Grid in multi-component React layoutMy CSS grid layout causes horizontal scroll and I can't figure out why

Was there a shared-world project before "Thieves World"?

Elements other than carbon that can form many different compounds by bonding to themselves?

Could the terminal length of components like resistors be reduced?

On The Origin of Dissonant Chords

Does tea made with boiling water cool faster than tea made with boiled (but still hot) water?

How to have a sharp product image?

"The cow" OR "a cow" OR "cows" in this context

What are the characteristics of a typeless programming language?

Aligning equation numbers vertically

Re-entry to Germany after vacation using blue card

Why was the Spitfire's elliptical wing almost uncopied by other aircraft of World War 2?

Is there a way to generate a list of distinct numbers such that no two subsets ever have an equal sum?

Why does Mind Blank stop the Feeblemind spell?

How did Captain America manage to do this?

What happened to Captain America in Endgame?

Is it idiomatic to construct against `this`

Does a large simulator bay have standard public address announcements?

Can I criticise the more senior developers around me for not writing clean code?

As an international instructor, should I openly talk about my accent?

A ​Note ​on ​N!

Mistake in years of experience in resume?

How do I deal with a coworker that keeps asking to make small superficial changes to a report, and it is seriously triggering my anxiety?

bldc motor, esc and battery draw, nominal vs peak

Rivers without rain



React Component with CSS grid doesnt layout properly


How to recompile ExtJs 5 theme with custom scss addedWindows 8.1 xaml stretch doesnt shrink buttonreact-router - pass props to handler componentCan you force a React component to rerender without calling setState?How to conditionally add attributes to React components?Detect click outside React componentOverlay component on Grid layout in React.jsAlign items in a gridUsing CSS Grid in multi-component React layoutMy CSS grid layout causes horizontal scroll and I can't figure out why






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I am trying to make two columns side by side for each row in large screen, i have information boxes but they are not filling up the row as i want.following rows are same and only have 1 picture like this



this is my scss code



@import "./Navbar.scss";
.tourlistwidth:70vw; margin:0 auto;padding:2rem 0;
.alltogetherbackground:$mygray ;border-radius:0.7rem;margin:1rem 0;
imgwidth:100%; border-top-left-radius:0.7rem;
border-top-right-radius:0.7rem ; display:block

.img-containersposition:relative; &:hover.fa-window-closeopacity:1
.fa-window-closeposition:absolute;cursor:pointer;transition:all 0.3s linear;opacity:0;display:block;
right:0.4%;
.tourinfospadding:1rem 0.5rem; h3text-transform:uppercase;color:$mygreen;margin-top:1rem;h4color:$myblack
pmargin-top:0.7rem ;font-size:19px ;

@media screen and (min-width:768px) .tourlist
display:grid;
grid-template-columns:1fr 1fr;
grid-column-gap:1.3rem;




this imports information and mapping components and works correct



import React, Component from 'react';
import './App.css';
import Navbar from "./components/Navbar.js"
import CityTour from "./CityTour.js"
import "./components/tourlist.scss"
class App extends Component
render()
return (<div >
<Navbar />
<div class="tourlist ">

<CityTour />
</div>
</div>
);



export default App;









share|improve this question






















  • SOLVED I APPLIED GRID ON WRONG

    – Tolima
    Mar 22 at 18:52

















0















I am trying to make two columns side by side for each row in large screen, i have information boxes but they are not filling up the row as i want.following rows are same and only have 1 picture like this



this is my scss code



@import "./Navbar.scss";
.tourlistwidth:70vw; margin:0 auto;padding:2rem 0;
.alltogetherbackground:$mygray ;border-radius:0.7rem;margin:1rem 0;
imgwidth:100%; border-top-left-radius:0.7rem;
border-top-right-radius:0.7rem ; display:block

.img-containersposition:relative; &:hover.fa-window-closeopacity:1
.fa-window-closeposition:absolute;cursor:pointer;transition:all 0.3s linear;opacity:0;display:block;
right:0.4%;
.tourinfospadding:1rem 0.5rem; h3text-transform:uppercase;color:$mygreen;margin-top:1rem;h4color:$myblack
pmargin-top:0.7rem ;font-size:19px ;

@media screen and (min-width:768px) .tourlist
display:grid;
grid-template-columns:1fr 1fr;
grid-column-gap:1.3rem;




this imports information and mapping components and works correct



import React, Component from 'react';
import './App.css';
import Navbar from "./components/Navbar.js"
import CityTour from "./CityTour.js"
import "./components/tourlist.scss"
class App extends Component
render()
return (<div >
<Navbar />
<div class="tourlist ">

<CityTour />
</div>
</div>
);



export default App;









share|improve this question






















  • SOLVED I APPLIED GRID ON WRONG

    – Tolima
    Mar 22 at 18:52













0












0








0








I am trying to make two columns side by side for each row in large screen, i have information boxes but they are not filling up the row as i want.following rows are same and only have 1 picture like this



this is my scss code



@import "./Navbar.scss";
.tourlistwidth:70vw; margin:0 auto;padding:2rem 0;
.alltogetherbackground:$mygray ;border-radius:0.7rem;margin:1rem 0;
imgwidth:100%; border-top-left-radius:0.7rem;
border-top-right-radius:0.7rem ; display:block

.img-containersposition:relative; &:hover.fa-window-closeopacity:1
.fa-window-closeposition:absolute;cursor:pointer;transition:all 0.3s linear;opacity:0;display:block;
right:0.4%;
.tourinfospadding:1rem 0.5rem; h3text-transform:uppercase;color:$mygreen;margin-top:1rem;h4color:$myblack
pmargin-top:0.7rem ;font-size:19px ;

@media screen and (min-width:768px) .tourlist
display:grid;
grid-template-columns:1fr 1fr;
grid-column-gap:1.3rem;




this imports information and mapping components and works correct



import React, Component from 'react';
import './App.css';
import Navbar from "./components/Navbar.js"
import CityTour from "./CityTour.js"
import "./components/tourlist.scss"
class App extends Component
render()
return (<div >
<Navbar />
<div class="tourlist ">

<CityTour />
</div>
</div>
);



export default App;









share|improve this question














I am trying to make two columns side by side for each row in large screen, i have information boxes but they are not filling up the row as i want.following rows are same and only have 1 picture like this



this is my scss code



@import "./Navbar.scss";
.tourlistwidth:70vw; margin:0 auto;padding:2rem 0;
.alltogetherbackground:$mygray ;border-radius:0.7rem;margin:1rem 0;
imgwidth:100%; border-top-left-radius:0.7rem;
border-top-right-radius:0.7rem ; display:block

.img-containersposition:relative; &:hover.fa-window-closeopacity:1
.fa-window-closeposition:absolute;cursor:pointer;transition:all 0.3s linear;opacity:0;display:block;
right:0.4%;
.tourinfospadding:1rem 0.5rem; h3text-transform:uppercase;color:$mygreen;margin-top:1rem;h4color:$myblack
pmargin-top:0.7rem ;font-size:19px ;

@media screen and (min-width:768px) .tourlist
display:grid;
grid-template-columns:1fr 1fr;
grid-column-gap:1.3rem;




this imports information and mapping components and works correct



import React, Component from 'react';
import './App.css';
import Navbar from "./components/Navbar.js"
import CityTour from "./CityTour.js"
import "./components/tourlist.scss"
class App extends Component
render()
return (<div >
<Navbar />
<div class="tourlist ">

<CityTour />
</div>
</div>
);



export default App;






reactjs sass grid






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 22 at 17:16









TolimaTolima

34




34












  • SOLVED I APPLIED GRID ON WRONG

    – Tolima
    Mar 22 at 18:52

















  • SOLVED I APPLIED GRID ON WRONG

    – Tolima
    Mar 22 at 18:52
















SOLVED I APPLIED GRID ON WRONG

– Tolima
Mar 22 at 18:52





SOLVED I APPLIED GRID ON WRONG

– Tolima
Mar 22 at 18:52












0






active

oldest

votes












Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55304752%2freact-component-with-css-grid-doesnt-layout-properly%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55304752%2freact-component-with-css-grid-doesnt-layout-properly%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현