Browse Source

Fixes incorrect margin value on attached table

flex-list
jlukic 9 years ago
parent
commit
8a1ba16eef
2 changed files with 5 additions and 3 deletions
  1. 4
      src/definitions/collections/table.less
  2. 4
      src/themes/default/collections/table.variables

4
src/definitions/collections/table.less

@ -522,7 +522,7 @@
/* Top */
.ui[class*="top attached"].table {
margin-top: @margin;
margin-top: @verticalMargin;
border-radius: @borderRadius @borderRadius 0em 0em;
}
.ui.table[class*="top attached"]:first-child {
@ -532,7 +532,7 @@
/* Bottom */
.ui.table[class*="bottom attached"] {
margin-top: 0em;
margin-bottom: @margin;
margin-bottom: @verticalMargin;
border-radius: 0em 0em @borderRadius @borderRadius;
}
.ui.table[class*="bottom attached"]:last-child {

4
src/themes/default/collections/table.variables

@ -6,7 +6,9 @@
Element
--------------------*/
@margin: 1em 0em;
@verticalMargin: 1em;
@horizontalMargin: 0em;
@margin: @verticalMargin @horizontalMargin;
@borderCollapse: separate;
@borderSpacing: 0px;
@borderRadius: @defaultBorderRadius;

Loading…
Cancel
Save