Browse Source

forbid text selection on normal headline rows / unexpanded CDM rows to prevent annoying glitches when selecting ranges etc

Andrew Dolgov 1 year ago
parent
commit
b54c40c45b
8 changed files with 20 additions and 3 deletions
  1. 4 0
      css/cdm.less
  2. 4 0
      css/default.css
  3. 1 1
      css/default.css.map
  4. 1 0
      css/tt-rss.less
  5. 4 0
      themes/night.css
  6. 1 1
      themes/night.css.map
  7. 4 0
      themes/night_blue.css
  8. 1 1
      themes/night_blue.css.map

+ 4 - 0
css/cdm.less

@@ -367,6 +367,10 @@ div#floatingTitle.Unread a.title {
 
 }
 
+.cdm.expandable:not(.active) {
+	user-select : none;
+}
+
 .cdm.expandable.Unread {
 	background : white;
 }

+ 4 - 0
css/default.css

@@ -196,6 +196,7 @@ body.ttrss_main .hl {
   flex-wrap: nowrap;
   background: #f5f5f5;
   align-items: center;
+  user-select: none;
 }
 body.ttrss_main .hl > * {
   white-space: nowrap;
@@ -1368,6 +1369,9 @@ div#floatingTitle.Unread a.title {
   font-weight: normal;
   cursor: pointer;
 }
+.cdm.expandable:not(.active) {
+  user-select: none;
+}
 .cdm.expandable.Unread {
   background: white;
 }

File diff suppressed because it is too large
+ 1 - 1
css/default.css.map


+ 1 - 0
css/tt-rss.less

@@ -226,6 +226,7 @@ body.ttrss_main {
 		flex-wrap : nowrap;
 		background : @color-panel-bg;
 		align-items : center;
+		user-select : none;
 
 		> * {
 			white-space : nowrap;

+ 4 - 0
themes/night.css

@@ -197,6 +197,7 @@ body.ttrss_main .hl {
   flex-wrap: nowrap;
   background: #222;
   align-items: center;
+  user-select: none;
 }
 body.ttrss_main .hl > * {
   white-space: nowrap;
@@ -1369,6 +1370,9 @@ div#floatingTitle.Unread a.title {
   font-weight: normal;
   cursor: pointer;
 }
+.cdm.expandable:not(.active) {
+  user-select: none;
+}
 .cdm.expandable.Unread {
   background: white;
 }

File diff suppressed because it is too large
+ 1 - 1
themes/night.css.map


+ 4 - 0
themes/night_blue.css

@@ -197,6 +197,7 @@ body.ttrss_main .hl {
   flex-wrap: nowrap;
   background: #222;
   align-items: center;
+  user-select: none;
 }
 body.ttrss_main .hl > * {
   white-space: nowrap;
@@ -1369,6 +1370,9 @@ div#floatingTitle.Unread a.title {
   font-weight: normal;
   cursor: pointer;
 }
+.cdm.expandable:not(.active) {
+  user-select: none;
+}
 .cdm.expandable.Unread {
   background: white;
 }

File diff suppressed because it is too large
+ 1 - 1
themes/night_blue.css.map