Fork me on GitHub
#re-frame
<
2015-07-27
>
skottk13:07:26

Hi, all. Loving the work I’m doing with re-com and re-frame overall. Just had to share that I spent possibly 15 hours reading through re-com code, comparing sample code to my code, to figure out a problem that actually turned out to be caused by having

skottk13:07:43

<link href="assets/css/re-com.css" rel="stylesheet" type="text/css"><link href="assets/css/bootstrap.css" rel="stylesheet" type="text/css">

skottk13:07:58

instead of <link href="assets/css/bootstrap.css" rel="stylesheet" type="text/css"> <link href="assets/css/re-com.css" rel="stylesheet" type="text/css">

danielcompton20:07:00

@skottk: where did that error come from?

danielcompton20:07:14

Bootstrap provides base styles and then re-com overrides them

skottk20:07:04

Turns out, if you have re-com first (the way I did at first, in error), the padding in the .compact style gets overridden by the padding in the list-group-item style. For the longest time, thought the error was in my invocation of selection-list. Duh.

danielcompton22:07:36

@skottk: was that in the docs or sample code somewhere or did that error come only in your code?