File tree Expand file tree Collapse file tree 4 files changed +26
-31
lines changed
components/chmod-checkbox Expand file tree Collapse file tree 4 files changed +26
-31
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " chmod-checkbox" ,
3- "version" : " 0.0.2 " ,
3+ "version" : " 0.0.21 " ,
44 "description" : " Simple and ready to use chmod based checkbox web component with StencilJS" ,
55 "main" : " dist/index.js" ,
66 "module" : " dist/index.mjs" ,
Original file line number Diff line number Diff line change @@ -50,13 +50,13 @@ label {
5050 width : 0px ;
5151 height : 2px ;
5252 border-radius : 2px ; // so that the tick has nice rounded look
53- background : $base-color ;
5453 position : absolute ;
54+ background : $base-color ;
55+ transform-origin : 0% 0% ;
5556 transform : rotate (45deg );
56- top : 13px ; // you'll need to experiment with placement depending on the dimensions you've chosen
57- left : 9px ; // you'll need to experiment with placement depending on the dimensions you've chosen
5857 transition : width 50ms ease 50ms ;
59- transform-origin : 0% 0% ;
58+ left : 9px ; // you'll need to experiment with placement depending on the dimensions you've chosen
59+ top : 13px ; // you'll need to experiment with placement depending on the dimensions you've chosen
6060 }
6161
6262 & :after {
@@ -138,19 +138,19 @@ input[type="checkbox"] {
138138
139139.wrapper {
140140 display : grid ;
141- grid-gap : 10 px ;
141+ grid-gap : 3 px ;
142142 grid-template-columns : repeat (3 , 1fr );
143143}
144144
145145.column1 {
146- grid-column : 1 ;
147146 grid-row : 3 ;
147+ grid-column : 1 ;
148148}
149149.column2 {
150- grid-column : 2 ;
151150 grid-row : 3 ;
151+ grid-column : 2 ;
152152}
153153.column3 {
154- grid-column : 3 ;
155154 grid-row : 3 ;
155+ grid-column : 3 ;
156156}
Original file line number Diff line number Diff line change 1111 < script nomodule src ="/build/chmod-checkbox.js "> </ script >
1212 </ head >
1313 < body >
14- < chmod-checkbox permission ="0 "/>
14+ < div style ="display:flex ">
15+ < div style ="flex: 0 0 65% ">
16+ < span > Hello</ span >
17+ </ div >
18+ < div style ="flex:1 ">
19+ < div >
20+ < chmod-checkbox permission ="0 "/>
21+ </ div >
22+ < div >
23+ < chmod-checkbox permission ="0 "/>
24+ </ div >
25+ < div >
26+ < chmod-checkbox permission ="0 "/>
27+ </ div >
28+ </ div >
29+
30+ </ div >
1531 </ body >
1632</ html >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments