Simplify some DND style rules

This commit is contained in:
Andrew Kingston 2021-09-21 08:47:43 +01:00
parent ee2e2799d9
commit c89e198bf8
1 changed files with 6 additions and 6 deletions

View File

@ -70,18 +70,18 @@
justify-content: flex-start; justify-content: flex-start;
align-items: center; align-items: center;
} }
.text.line {
transform: translateY(-50%);
border-radius: 4px;
}
.text.flipped { .text.flipped {
border-top-left-radius: 4px; border-top-left-radius: 4px;
border-bottom-left-radius: 4px; border-bottom-left-radius: 4px;
transform: translateY(0%); transform: translateY(0%);
top: -2px; top: -2px;
} }
.text.line {
transform: translateY(-50%) !important;
border-radius: 4px !important;
}
.text.right { .text.right {
right: -2px !important; right: -2px;
left: auto !important; left: auto;
} }
</style> </style>