keep data-label
This commit is contained in:
parent
90927b3f5b
commit
00a293feb5
1 changed files with 3 additions and 3 deletions
|
@ -24,7 +24,7 @@ ul.noStyle li {
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* This is stolen from Buefy */ @media screen and (max-width: 768px) {
|
/* This is mostly stolen from Buefy */ @media screen and (max-width: 768px) {
|
||||||
.table.has-mobile-cards thead { display: none }
|
.table.has-mobile-cards thead { display: none }
|
||||||
.table.has-mobile-cards tfoot th { border: 0; display: inherit }
|
.table.has-mobile-cards tfoot th { border: 0; display: inherit }
|
||||||
.table.has-mobile-cards tr { box-shadow: 0 2px 3px hsla(0,0%,4%,.1),0 0 0 1px hsla(0,0%,4%,.1); max-width: 100%; position: relative; display: block }
|
.table.has-mobile-cards tr { box-shadow: 0 2px 3px hsla(0,0%,4%,.1),0 0 0 1px hsla(0,0%,4%,.1); max-width: 100%; position: relative; display: block }
|
||||||
|
@ -35,7 +35,7 @@ ul.noStyle li {
|
||||||
.table.has-mobile-cards tr:not([class*=is-]):hover { background-color: inherit }
|
.table.has-mobile-cards tr:not([class*=is-]):hover { background-color: inherit }
|
||||||
.table.has-mobile-cards tr.detail { margin-top: -1rem }
|
.table.has-mobile-cards tr.detail { margin-top: -1rem }
|
||||||
.table.has-mobile-cards tr:not(.detail):not(.is-empty):not(.table-footer) td { display: -ms-flexbox; display: flex; width: auto; -ms-flex-pack: end; justify-content: flex-end; text-align: right; border-bottom: 1px solid #f5f5f5 }
|
.table.has-mobile-cards tr:not(.detail):not(.is-empty):not(.table-footer) td { display: -ms-flexbox; display: flex; width: auto; -ms-flex-pack: end; justify-content: flex-end; text-align: right; border-bottom: 1px solid #f5f5f5 }
|
||||||
.table.has-mobile-cards tr:not(.detail):not(.is-empty):not(.table-footer) td:before { content: attr(data-label); font-weight: 600; margin-right: auto; padding-right: .5em; text-align: left }
|
.table.has-mobile-cards tr:not(.detail):not(.is-empty):not(.table-footer) td:before { content: attr(data-label); font-weight: 600; margin-right: auto; padding-right: .5em; text-align: left; word-break: keep-all; }
|
||||||
}
|
}
|
||||||
|
|
||||||
.ugc {
|
.ugc {
|
||||||
|
|
Loading…
Reference in a new issue