Skip to content

Commit c61dfa9

Browse files
add margin / padding helpers
1 parent 383bb89 commit c61dfa9

1 file changed

Lines changed: 60 additions & 0 deletions

File tree

src/_shared/styles/generic.css

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,66 @@ input:checked + .slider:before {
498498
padding-left: 0 !important;
499499
}
500500

501+
.m-1 {
502+
margin: 10px !important;
503+
}
504+
505+
.mx-1 {
506+
margin-left: 10px !important;
507+
margin-right: 10px !important;
508+
}
509+
510+
.my-1 {
511+
margin-top: 10px !important;
512+
margin-bottom: 10px !important;
513+
}
514+
515+
.mt-1 {
516+
margin-top: 10px !important;
517+
}
518+
519+
.mr-1 {
520+
margin-right: 10px !important;
521+
}
522+
523+
.mb-1 {
524+
margin-bottom: 10px !important;
525+
}
526+
527+
.ml-1 {
528+
margin-left: 10px !important;
529+
}
530+
531+
.p-1 {
532+
padding: 10px !important;
533+
}
534+
535+
.py-1 {
536+
padding-top: 10px !important;
537+
padding-bottom: 10px !important;
538+
}
539+
540+
.px-1 {
541+
padding-left: 10px !important;
542+
padding-right: 10px !important;
543+
}
544+
545+
.pt-1 {
546+
padding-top: 10px !important;
547+
}
548+
549+
.pr-1 {
550+
padding-right: 10px !important;
551+
}
552+
553+
.pb-1 {
554+
padding-bottom: 10px !important;
555+
}
556+
557+
.pl-1 {
558+
padding-left: 10px !important;
559+
}
560+
501561
/* Tags */
502562

503563
.tagItem, .typeItem, .userItem {

0 commit comments

Comments
 (0)