Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CSS fix
Browse files Browse the repository at this point in the history
jesperengstrom committed Dec 12, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent d236709 commit 2eb90eb
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions lxl-web/src/lib/styles/lxlquery.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.lxl-qualifier {
display: inline;
display: inline-flex;
color: rgb(0, 128, 0);
background: rgba(14, 113, 128, 0.1);
padding-top: 3px;
@@ -14,12 +14,16 @@

.lxl-qualifier-value,
.lxl-qualifier-remove {
padding-left: 5px;
padding-right: 5px;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
}

.lxl-qualifier-remove,
.lxl-qualifier-value.atomic {
padding-left: 5px;
}

.lxl-qualifier-value:has(~ .lxl-qualifier-remove) {
border-radius: 0;
}
Original file line number Diff line number Diff line change
@@ -52,7 +52,7 @@ class QualifierWidget extends WidgetType {
}
toDOM(): HTMLElement {
const container = document.createElement('span');
container.style.cssText = `position: relative; display:inline-table`;
container.style.cssText = `position: relative; display:inline-flex`;
mount(QualifierComponent, {
props: {
key: this.key,

0 comments on commit 2eb90eb

Please sign in to comment.