Advertisement
iamjohnrex03

28437621

Jun 27th, 2025
868
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.18 KB | None | 0 0
  1. .configurable-list-field-wrapper {
  2.   flex-direction: column-reverse;
  3. }
  4.  
  5. .configurable-list-field-label {
  6.   word-break: break-word;
  7.   font-size: 0.786em;
  8.   font-weight: normal;
  9.   color: #1a1a1a;
  10.   margin-top: 3px;
  11. }
  12.  
  13. input[type=number],
  14. input[type=text] {
  15.   padding: 4px 3px;
  16.   font-size: 14px;
  17. }
  18.  
  19. .configurable-list-field-row {
  20.   position: relative;
  21.   gap: 0.4em;
  22. }
  23.  
  24. .configurable-list-field-row-wrapper {
  25.   margin: 0 auto;
  26.   max-width: 90%; /* better fit on smaller screens */
  27. }
  28.  
  29. .col1,
  30. .col2 {
  31.   flex: 1 1 auto;
  32.   max-width: 150px;
  33. }
  34.  
  35. .col1 input,
  36. .col2 input {
  37.   width: 100%;
  38. }
  39.  
  40. .col3 {
  41.   position: absolute;
  42.   top: 50%;
  43.   right: 0;
  44.   transform: translateY(-50%);
  45.   flex: none !important;
  46.   max-width: 30px;
  47. }
  48.  
  49. #listContainer div.configurable-list-field-row-wrapper:not(:first-child) span.configurable-list-field-label {
  50.   display: unset !important;
  51. }
  52.  
  53. button.add {
  54.   display: block;
  55.   margin: 1em auto;
  56. }
  57.  
  58. .configurable-list-field-label.hidden-label {
  59.   display: none !important;
  60. }
  61.  
  62. @media screen and (max-width: 768px) {
  63.   .configurable-list-field-row-wrapper {
  64.     max-width: 55%;
  65.   }
  66.   .col1,
  67.   .col2 {
  68.     max-width: 100%;
  69.   }
  70. }
  71.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement