File tree Expand file tree Collapse file tree 1 file changed +21
-9
lines changed Expand file tree Collapse file tree 1 file changed +21
-9
lines changed Original file line number Diff line number Diff line change @@ -1050,14 +1050,6 @@ a.label,
1050
1050
/* are needed to get all current uses of fomantic cards working */
1051
1051
/* TODO: remove all these styles and use custom styling instead */
1052
1052
1053
- .ui .cards {
1054
- display : flex;
1055
- margin : -.875em -.5em ;
1056
- margin-right : -0.5em ;
1057
- margin-left : -0.5em ;
1058
- flex-wrap : wrap;
1059
- }
1060
-
1061
1053
.ui .card : last-child {
1062
1054
margin-bottom : 0 ;
1063
1055
}
@@ -1071,7 +1063,6 @@ a.label,
1071
1063
flex-direction : column;
1072
1064
max-width : 100% ;
1073
1065
width : 290px ;
1074
- margin : 1em 0 ;
1075
1066
min-height : 0 ;
1076
1067
padding : 0 ;
1077
1068
background : var (--color-card );
@@ -1080,6 +1071,22 @@ a.label,
1080
1071
word-wrap : break-word;
1081
1072
}
1082
1073
1074
+ .ui .card {
1075
+ margin : 1em 0 ;
1076
+ }
1077
+
1078
+ .ui .cards {
1079
+ display : flex;
1080
+ margin : -0.875em -0.5em ;
1081
+ flex-wrap : wrap;
1082
+ }
1083
+
1084
+ .ui .cards > .card {
1085
+ display : flex;
1086
+ margin : 0.875em 0.5em ;
1087
+ float : none;
1088
+ }
1089
+
1083
1090
.ui .cards > .card > .content ,
1084
1091
.ui .card > .content {
1085
1092
border-top : 1px solid var (--color-secondary );
@@ -1114,6 +1121,11 @@ a.label,
1114
1121
border-radius : 0 0 var (--border-radius ) var (--border-radius );
1115
1122
}
1116
1123
1124
+ .ui .cards > .card > : only-child ,
1125
+ .ui .card > : only-child {
1126
+ border-radius : var (--border-radius ) !important ;
1127
+ }
1128
+
1117
1129
.ui .cards > .card > .extra ,
1118
1130
.ui .card > .extra ,
1119
1131
.ui .cards > .card > .extra a : not (.ui ),
You can’t perform that action at this time.
0 commit comments