Project

General

Profile

Feature #14508 » feature-14508-v2.patch

kyohei yamada, 2026-06-12 13:08

View differences:

app/assets/stylesheets/application.css
1206 1206
#workflow_form table select {font-size: 90%; max-inline-size: 100px;}
1207 1207
table.fields_permissions td.readonly {background:var(--oc-gray-4);}
1208 1208
table.fields_permissions td.required {background:var(--oc-red-4);}
1209
/* Keep the headers and the first column of workflow tables visible when scrolling */
1210
#workflow_form .autoscroll {max-block-size: 90vh;}
1211
/* Sticky positioning does not work on `overflow: hidden` tables and collapsed borders would not move with the stuck cells */
1212
table.list.workflows {overflow: visible; border-collapse: separate; border-spacing: 0;}
1213
table.workflows thead {position: sticky; inset-block-start: 0; z-index: 3; background-color: var(--oc-white);}
1214
table.workflows thead tr:last-child > td {border-block-start: none; border-block-end: 1px solid var(--oc-gray-4);}
1215
table.workflows thead tr > :first-child {position: sticky; inset-inline-start: 0; z-index: 1;}
1216
table.workflows thead tr:last-child > td:first-child {background-color: var(--oc-white);}
1217
table.workflows tbody td.name {position: sticky; inset-inline-start: 0; z-index: 2; background-color: inherit; min-inline-size: 150px;}
1209 1218

  
1210 1219
select.expandable {vertical-align:top;}
1211 1220

  
......
2591 2600
  #wiki_add_attachment { display:none; }
2592 2601
  .hide-when-print, .pagination ul.pages, .pagination .per-page { display: none !important; }
2593 2602
  .autoscroll {overflow-x: visible;}
2603
  #workflow_form .autoscroll {max-block-size: none;}
2594 2604
  table.list {margin-block-start: 0.5em;}
2595 2605
  table.list th, table.list td {border: 1px solid var(--oc-gray-5);}
2596 2606
}
(7-7/7)