Skip to content

Commit c02f559

Browse files
committed
remove unused .ant-table-scroll CSS rule
1 parent 0ff11a1 commit c02f559

File tree

1 file changed

+38
-14
lines changed

1 file changed

+38
-14
lines changed

frontend/stylesheets/antd_overwrites.less

Lines changed: 38 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,27 @@
55
h1 {
66
font-size: 36px;
77
}
8+
89
h2 {
910
font-size: 30px;
1011
}
12+
1113
h3 {
1214
font-size: 24px;
1315
}
16+
1417
h4 {
1518
font-size: 18px;
1619
}
20+
1721
h5 {
1822
font-size: 14px;
1923
}
24+
2025
h6 {
2126
font-size: 12px;
2227
}
28+
2329
p {
2430
margin: 0 0 10px;
2531
}
@@ -34,6 +40,7 @@ p {
3440
padding: 0 20px;
3541

3642
@media @smartphones {
43+
3744
& .ant-menu-item,
3845
& .ant-menu-submenu-title {
3946
padding: 0;
@@ -60,12 +67,14 @@ p {
6067
background-color: #f2dede;
6168
border-color: #ebccd1;
6269
color: #a94442;
70+
6371
.ant-notification-notice-message,
6472
.ant-collapse-header,
6573
.ant-notification-notice-close,
6674
.ant-collapse-content-box {
6775
color: #a94442;
6876
}
77+
6978
.ant-notification-notice-icon {
7079
animation-name: alert-wiggle;
7180
animation-duration: 5s;
@@ -78,33 +87,43 @@ p {
7887
0% {
7988
transform: translateX(0px) translateY(0px);
8089
}
90+
8191
2% {
8292
transform: translateX(8px) translateY(-8px);
8393
}
94+
8495
4% {
8596
transform: translateX(-8px) translateY(8px);
8697
}
98+
8799
6% {
88100
transform: translateX(8px) translateY(-8px);
89101
}
102+
90103
8% {
91104
transform: translateX(-8px) translateY(8px);
92105
}
106+
93107
10% {
94108
transform: translateX(8px) translateY(-8px);
95109
}
110+
96111
12% {
97112
transform: translateX(-8px) translateY(8px);
98113
}
114+
99115
14% {
100116
transform: translateX(8px) translateY(-8px);
101117
}
118+
102119
16% {
103120
transform: translateX(-8px) translateY(8px);
104121
}
122+
105123
18% {
106124
transform: translateX(8px) translateY(-8px);
107125
}
126+
108127
20% {
109128
transform: translateX(0px) translateY(0px);
110129
}
@@ -120,17 +139,14 @@ p {
120139
}
121140
}
122141

123-
.ant-table-small > .ant-table-content > .ant-table-body > table > .ant-table-tbody > tr > td {
142+
.ant-table-small>.ant-table-content>.ant-table-body>table>.ant-table-tbody>tr>td {
124143
padding: 1px 8px;
125144
}
145+
126146
.large-table {
127147
word-break: break-word;
128148
}
129149

130-
.ant-table-scroll > .ant-table-body {
131-
overflow-x: auto !important;
132-
}
133-
134150
.ant-table-column-title {
135151
word-break: normal;
136152
}
@@ -149,6 +165,7 @@ label.ant-checkbox-wrapper {
149165
.ant-alert {
150166
font-family: @font-family;
151167
}
168+
152169
.ant-alert-message {
153170
margin-left: 5px;
154171
}
@@ -158,14 +175,16 @@ label.ant-checkbox-wrapper {
158175
z-index: 1000;
159176
width: 100%;
160177
}
178+
161179
.ant-card {
162180
font-family: @font-family;
163181
}
164182

165183
.ant-radio-button-wrapper.aIJobSelection {
166-
width: auto;
167-
height: auto;
168-
padding: 0px;
184+
width: auto;
185+
height: auto;
186+
padding: 0px;
187+
169188
div.ant-card-body {
170189
line-height: 0.9;
171190
}
@@ -176,6 +195,7 @@ label.ant-checkbox-wrapper {
176195
}
177196

178197
.collapsed-nav-header .ant-menu:not(.right-navbar) {
198+
179199
.ant-menu-item,
180200
.ant-menu-submenu-title,
181201
li.ant-menu-submenu {
@@ -206,12 +226,14 @@ label.ant-checkbox-wrapper {
206226
padding: 0;
207227
height: initial;
208228
}
209-
.link-button > .anticon + span,
210-
.link-button > span + .anticon {
229+
230+
.link-button>.anticon+span,
231+
.link-button>span+.anticon {
211232
margin-left: initial;
212233
}
213234

214235
.hide-checkbox-selection {
236+
215237
.ant-table-selection,
216238
.ant-table-selection-col,
217239
.ant-table-selection-column {
@@ -232,6 +254,7 @@ label.ant-checkbox-wrapper {
232254
width: 100%;
233255
}
234256
}
257+
235258
.ant-tree-directory .ant-tree-title {
236259
// Make the directory tree element full-width (subtract the width of the
237260
// directory icon)
@@ -260,12 +283,13 @@ label.ant-checkbox-wrapper {
260283
line-height: 0;
261284
}
262285

263-
.ant-table-empty .ant-table-tbody > tr.ant-table-placeholder,
286+
.ant-table-empty .ant-table-tbody>tr.ant-table-placeholder,
264287
.ant-list-empty-text {
265288
color: var(--ant-color-text-tertiary)
266289
}
267290

268291
.action-bar {
292+
269293
// UI for additional coordinates should always be in dark mode
270294
// since it is located in the navbar's action bar.
271295
.ant-input-group-addon {
@@ -279,7 +303,7 @@ label.ant-checkbox-wrapper {
279303
margin-right: 5px;
280304
}
281305

282-
.ant-dropdown-menu-item-icon > svg {
306+
.ant-dropdown-menu-item-icon>svg {
283307
width: 15px;
284308
}
285309

@@ -288,11 +312,11 @@ label.ant-checkbox-wrapper {
288312
pointer-events: none;
289313
}
290314

291-
.ant-radio-button-wrapper-disabled:first-child{
315+
.ant-radio-button-wrapper-disabled:first-child {
292316
opacity: 0.5;
293317
}
294318

295319

296320
.no-padding {
297321
padding: 0 !important;
298-
}
322+
}

0 commit comments

Comments
 (0)