AaronTekle commited on
Commit
443d77c
·
verified ·
1 Parent(s): cf2fdf3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +32 -30
app.py CHANGED
@@ -1696,35 +1696,35 @@ html, body {
1696
  font-feature-settings: "liga" 1, "calt" 1;
1697
  }
1698
 
1699
- /* Agent result tabs: keep both buttons centered, equal-width, and evenly spaced. */
1700
  #agent-result-tabs [role="tablist"] {
1701
- display: grid !important;
1702
- grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
1703
- gap: 14px !important;
1704
- width: 100% !important;
1705
- margin: 11px auto 0 !important;
1706
- padding: 5px !important;
1707
- align-items: stretch !important;
1708
- justify-items: stretch !important;
1709
- justify-content: center !important;
1710
- border-radius: 13px !important;
1711
  background: rgba(255,255,255,.018);
1712
  }
1713
 
1714
  #agent-result-tabs button[role="tab"] {
1715
- display: flex !important;
1716
  align-items: center !important;
1717
  justify-content: center !important;
1718
- width: 100% !important;
1719
- min-width: 0 !important;
1720
- max-width: none !important;
1721
- min-height: 44px !important;
1722
  margin: 0 !important;
1723
- padding: 10px 13px !important;
1724
- flex: 1 1 0 !important;
1725
  text-align: center !important;
1726
  white-space: nowrap !important;
1727
- border-radius: 10px !important;
 
1728
  color: #9e93a5 !important;
1729
  }
1730
 
@@ -2055,32 +2055,34 @@ ul.options[role="listbox"] {
2055
 
2056
  #main-tabs button[role="tab"] {
2057
  min-width: 0 !important;
2058
- min-height: 64px !important;
2059
- padding: 11px 14px !important;
2060
  white-space: normal !important;
2061
  overflow-wrap: anywhere !important;
2062
  word-break: normal !important;
2063
- line-height: 1.16 !important;
2064
  text-align: center !important;
2065
  }
2066
  }
2067
 
2068
- /* ML Modeling actions: always one aligned row on laptop/desktop. */
 
 
2069
  .model-action-row {
2070
  width: 100% !important;
2071
- max-width: none !important;
2072
- margin: 24px 0 0 !important;
2073
  display: flex !important;
2074
  flex-wrap: nowrap !important;
2075
  align-items: stretch !important;
2076
- justify-content: stretch !important;
2077
  gap: 16px !important;
2078
  }
2079
 
2080
  .model-action-row > * {
2081
  flex: 1 1 0 !important;
2082
  width: auto !important;
2083
- max-width: none !important;
2084
  min-width: 0 !important;
2085
  margin: 0 !important;
2086
  }
@@ -2093,10 +2095,10 @@ ul.options[role="listbox"] {
2093
  .model-action-row #code-button button {
2094
  width: 100% !important;
2095
  min-width: 0 !important;
2096
- max-width: none !important;
2097
  height: auto !important;
2098
- min-height: 58px !important;
2099
- margin: 0 !important;
2100
  }
2101
 
2102
  .model-action-row #train-button button,
 
1696
  font-feature-settings: "liga" 1, "calt" 1;
1697
  }
1698
 
1699
+ /* Agent result tabs: compact, auto-width buttons with visible spacing (not full-width blocks). */
1700
  #agent-result-tabs [role="tablist"] {
1701
+ display: inline-flex !important;
1702
+ flex-wrap: wrap !important;
1703
+ width: auto !important;
1704
+ margin: 11px 0 0 !important;
1705
+ padding: 4px !important;
1706
+ gap: 10px !important;
1707
+ align-items: center !important;
1708
+ justify-content: flex-start !important;
1709
+ border-radius: 12px !important;
 
1710
  background: rgba(255,255,255,.018);
1711
  }
1712
 
1713
  #agent-result-tabs button[role="tab"] {
1714
+ display: inline-flex !important;
1715
  align-items: center !important;
1716
  justify-content: center !important;
1717
+ width: auto !important;
1718
+ min-width: 130px !important;
1719
+ max-width: 220px !important;
1720
+ min-height: 34px !important;
1721
  margin: 0 !important;
1722
+ padding: 7px 16px !important;
1723
+ flex: 0 0 auto !important;
1724
  text-align: center !important;
1725
  white-space: nowrap !important;
1726
+ font-size: 12px !important;
1727
+ border-radius: 9px !important;
1728
  color: #9e93a5 !important;
1729
  }
1730
 
 
2055
 
2056
  #main-tabs button[role="tab"] {
2057
  min-width: 0 !important;
2058
+ min-height: 50px !important;
2059
+ padding: 9px 16px !important;
2060
  white-space: normal !important;
2061
  overflow-wrap: anywhere !important;
2062
  word-break: normal !important;
2063
+ line-height: 1.2 !important;
2064
  text-align: center !important;
2065
  }
2066
  }
2067
 
2068
+ /* ML Modeling actions: kept centered as a group on laptop/desktop (matches
2069
+ the .model-action-row rule above; this block only refines sizing so the
2070
+ row never falls back to a left-aligned full-width stretch on wide screens). */
2071
  .model-action-row {
2072
  width: 100% !important;
2073
+ max-width: 880px !important;
2074
+ margin: 24px auto 0 !important;
2075
  display: flex !important;
2076
  flex-wrap: nowrap !important;
2077
  align-items: stretch !important;
2078
+ justify-content: center !important;
2079
  gap: 16px !important;
2080
  }
2081
 
2082
  .model-action-row > * {
2083
  flex: 1 1 0 !important;
2084
  width: auto !important;
2085
+ max-width: 280px !important;
2086
  min-width: 0 !important;
2087
  margin: 0 !important;
2088
  }
 
2095
  .model-action-row #code-button button {
2096
  width: 100% !important;
2097
  min-width: 0 !important;
2098
+ max-width: 280px !important;
2099
  height: auto !important;
2100
+ min-height: 52px !important;
2101
+ margin: 0 auto !important;
2102
  }
2103
 
2104
  .model-action-row #train-button button,