Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function repeater_vertical_header() {
- ?>
- <style type="text/css">
- .vertical-header thead {
- float: left;
- }
- .vertical-header thead th,
- .vertical-header td {
- display: block;
- width: auto !important;
- }
- .vertical-header tbody {
- float: left;
- border-right: 1px solid #e1e1e1;
- }
- .vertical-header tbody tr {
- float: left;
- }
- .vertical-header th,
- .vertical-header td {
- height: 44px;
- line-height: 27px;
- border-color: #e1e1e1;
- border-width: 1px 0 0 1px !important;
- }
- .vertical-header .acf-row-handle {
- background-color: #fff !important;
- }
- .vertical-header .acf-row-handle .acf-icon {
- position: static;
- float: left;
- margin: 4px;
- }
- </style>
- <?php
- }
- add_action('acf/input/admin_head', 'repeater_vertical_header');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement