Fix 'Query by match' constraint line (fixes #276)

Change-Id: I88496eb475660c26d42e90ecc4fc90cff593e010
diff --git a/Changes b/Changes
index d914350..e0576b0 100644
--- a/Changes
+++ b/Changes
@@ -10,6 +10,7 @@
         - Documentation: Hint on using negations with annotations
           (diewald)
         - Fix shift issue when clicking on empty sidebar(uyen-nhu, closes #242)
+        - Fix 'Query by match' constraint line (uyen-nhu, closes #276)
 
 0.65 2026-04-21
         - Expose colors and forms to plugins (diewald)
diff --git a/dev/scss/base/fragment.scss b/dev/scss/base/fragment.scss
index 43932fb..e1852be 100644
--- a/dev/scss/base/fragment.scss
+++ b/dev/scss/base/fragment.scss
@@ -13,6 +13,7 @@
   @include choose.choose-item;
   position: relative;
   padding:  4pt 6pt !important;
+  text-align: left;
   
   border : {
     width:  lengths.$border-size;
diff --git a/dev/scss/media.scss b/dev/scss/media.scss
index 7a1e32a..0a6cb48 100644
--- a/dev/scss/media.scss
+++ b/dev/scss/media.scss
@@ -390,6 +390,10 @@
   //   margin-right: 20px;
   // }
 
+  p.query.fragment {
+    margin-left: 0;
+  }
+
   footer {
     padding-left: 0 !important;
     padding-top: 2rem;