Skip to content

Commit 957c64e

Browse files
ipweblabVidas P
authored andcommitted
Middle vertical align of table cells
1 parent 1882e61 commit 957c64e

File tree

3 files changed

+5
-15
lines changed

3 files changed

+5
-15
lines changed

app/assets/stylesheets/agent.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
}
1010
}
1111

12+
td {
13+
vertical-align: top;
14+
}
15+
1216
td:first-child { // Name
1317
padding-top: 8px;
1418
padding-bottom: 2px;
@@ -182,7 +186,6 @@ li.issues {
182186

183187
// Show
184188

185-
186189
.agent-show {
187190

188191
.nav-item {

app/assets/stylesheets/tables.scss

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ table.table {
5353
border: none;
5454
border-bottom: 1px solid #222;
5555
border-bottom-width: 1px !important;
56+
vertical-align: middle;
5657
}
5758

5859
tbody tr:last-child td {
@@ -121,14 +122,6 @@ table.dataTable {
121122
color: $secondary;
122123
}
123124

124-
// User Credentials
125-
126-
#usercredentials-table {
127-
tbody td {
128-
vertical-align: middle;
129-
}
130-
}
131-
132125
// User Management
133126

134127
#users-table {
@@ -139,9 +132,4 @@ table.dataTable {
139132
th.registered {
140133
min-width: 120px;
141134
}
142-
143-
tbody td {
144-
vertical-align: middle;
145-
}
146135
}
147-

app/assets/stylesheets/workflows.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ h1 {
5959

6060
td.workflow-num-of-agents { // Agents (number and link).
6161
min-width: 5rem;
62-
padding-top: 16px;
6362
}
6463

6564
a.show-description {

0 commit comments

Comments
 (0)