react-crouton icon indicating copy to clipboard operation
react-crouton copied to clipboard

Style not showing up

Open ridmeh opened this issue 8 years ago • 6 comments

While, trying to use it I am unable to get styles shown. All text comes with white background. What could be the reason or any direction where I can look at possible issue? I have intergrated the provided styles.css using following line in html code.

ridmeh avatar Jan 04 '17 02:01 ridmeh

<link rel="stylesheet" type="text/css" href="./style.css">

Great work.

ridmeh avatar Jan 04 '17 02:01 ridmeh

i meant to write, text is shown in white. Changed the following (in styles file) for testing purpose and it shows in black. However, no border and other things are shown. Am I using right css file? Changed from: .crouton { color: #FFF; to: .crouton { color: $black;

ridmeh avatar Jan 04 '17 02:01 ridmeh

Hi @ridmeh , are you using the style.css file contains inside of example ? The component doesn't provide the styles itself.

xeodou avatar Jan 04 '17 02:01 xeodou

yes. I was following the e.g. Do I not need to provide styles?

ridmeh avatar Jan 04 '17 03:01 ridmeh

I have also tried without providing styles, It does not draw the box and puts respective colors.

ridmeh avatar Jan 04 '17 03:01 ridmeh

yes, I wrote the css for the example and it doesn't provide in the component, but you can still take look build your own styles.

xeodou avatar Jan 04 '17 15:01 xeodou