mirror of
https://github.com/Fabio286/antares.git
synced 2025-04-20 13:07:20 +02:00
perf(UI): left alignment for numbers in result tables, closes #249
This commit is contained in:
parent
ff272440bd
commit
e02565c0d9
@ -1,14 +1,8 @@
|
|||||||
|
|
||||||
@mixin type-colors($types) {
|
@mixin type-colors($types) {
|
||||||
$numbers: ('int','tinyint','smallint','mediumint','float','double','decimal');
|
|
||||||
|
|
||||||
@each $type, $color in $types {
|
@each $type, $color in $types {
|
||||||
.type-#{$type} {
|
.type-#{$type} {
|
||||||
color: $color;
|
color: $color;
|
||||||
|
|
||||||
@if index($numbers, $type) {
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user