365体育足球滚球比分

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
1answer
13 views

React native view auto height

I have a component with 3 views inside, one in the top, other in the middle, and the last one in the bottom. The view in the middle has a specific height. I want the others to adapt their height. Know ...
0
votes
0answers
10 views

Reactjs / Django : my login page background keeps showing in other pages

this is my login.css for the login form body { margin: 0; padding: 0; font-family: sans-serif; background: url(bg.png) no-repeat; background-size: cover; } .login { width: 250px; ...
0
votes
1answer
18 views

react tests- display:none in stylesheet doesn't work in but works when inline

I am testing if a div is set to display: none. I have set it as such in the stylesheet but the tests tell me that it is still display: block. When I change to inline CSS the tests acknowledge that it ...
0
votes
0answers
14 views

SASS - reset style rendered on the end and rewrite styles

I have a React app. index.tsx is the starting point and I import index.scss there. @import '_variables.scss'; @import 'reset.scss'; ... In reset.scss I have reseting styles: html, body, div, span, ...
-1
votes
0answers
29 views

aligning text items horizontally and vertically middle with equal spacing inside a div react

I am developing a weather application in react. I have used openweathermap and ant design. I need help in aligning text items horizontally and vertically middle with equal spacing. Please find end ...
0
votes
1answer
23 views

Modal not showing up in react with react-bootstrap

I am trying to create a modal to have a login/register pop-up when clicking on the NavBar.Item Login/Register. My modal is defined as below: import React from "react"; import '../assets/styles/...
0
votes
1answer
10 views

Chrome is not rendering div, but MS Edge and development build is rendering as intended using React

The site is live at http://www.ipworld.ca/ but it should look like this: from dev build viewed using chrome I tried increasing the z-order through css, but no luck. Notice the elements are loaded, but ...
0
votes
0answers
20 views

How to build a login register popup in react [closed]

I am trying to build a login/register popup in react but I would like to make it different in a sense that when you click in the link login/register it shows a login and when you press register on the ...
2
votes
0answers
29 views

Problem with using Emotion with Gatsby.js

I am following this tutorial of Gatsby about using Emotion. http://www.gatsbyjs.org/docs/recipes/styling-css#using-emotion I installed the Emotion using npm install --save gatsby-plugin-emotion @...
1
vote
2answers
46 views

PokeAPI - Fetching Pokemon Data

I have just started to learn React and I am trying to build a PokeDex using the PokeAPI, but I am having an extremely hard time understanding how to fetch data from the API. I want to fetch the first ...
0
votes
0answers
43 views

How can I prevent this div from pushing outside my window?

I'm having trouble getting this side-effect to stop! (link to CodeSandbox below) http://codesandbox.io/s/great-meninsky-iuuxx?file=/src/components/Demo.js Notice when you click Menu VDB ON and Menu ...
1
vote
1answer
15 views

Trying to figure out how to change background image depending on the genre of that particular book REACT

*I am currently trying to figure out how to change the background image of my book--container--fiction. I have three different images and depending on the genre of the book I would like to change ...
1
vote
0answers
21 views

How do I render divs horizontally without using flexbox?

I'm designing a website with ReactJS and Typescript and I want the pages each to live on a Card and when the user uses the Navigation bar, the current card slides away and the new one slides in. I am ...
1
vote
1answer
29 views

React shortcut to importing style files

I'm working in a React project. In a component's specific SASS file, I import SASS partials like this: @import '../../styles/fonts'; When I was working in Angular project, the previous path could ...
0
votes
1answer
14 views

How do i align react-native buttons in a horizontal row

I have 8 buttons which i would like to align in horizontal row, side by side. everything i have tried hasn't worked and the just display one on top of another. Here's what i have at the mo. Thanks ...

15 30 50 per page
1
2 3 4 5
618