1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2025-04-14 21:15:48 +02:00

Minor visual fixes (Edit List modal, set minimum column width)

This commit is contained in:
chylex 2018-06-05 04:25:05 +02:00
parent 995642a719
commit b9318dfd8e
2 changed files with 8 additions and 1 deletions
Resources
Plugins/edit-design
Scripts/styles

View File

@ -396,6 +396,7 @@ enabled(){
switch(currentTheme){
case "black":
this.css.insert(".app-content, .app-columns-container { background-color: #444448 !important }");
this.css.insert(".column-header-temp { background-color: transparent !important }");
this.css.insert(".column-drag-handle { opacity: 0.5 !important }");
this.css.insert(".column-drag-handle:hover { opacity: 1 !important }");
this.css.insert(".scroll-styled-v:not(.scroll-alt)::-webkit-scrollbar-thumb:not(:hover), .scroll-styled-h:not(.scroll-alt)::-webkit-scrollbar-thumb:not(:hover) { background-color: #666 !important }");
@ -561,7 +562,7 @@ ${iconData.map(entry => `#tduck .icon-${entry[0]}:before{content:\"\\f0${entry[1
if (this.config.columnWidth[0] === '/'){
let cols = this.config.columnWidth.slice(1);
this.css.insert(".column { width: calc((100vw - 205px) / "+cols+" - 6px) !important }");
this.css.insert(".column { width: calc((100vw - 205px) / "+cols+" - 6px) !important; min-width: 160px }");
this.css.insert(".is-condensed .column { width: calc((100vw - 55px) / "+cols+" - 6px) !important }");
}
else{

View File

@ -295,6 +295,12 @@ a[data-full-url] {
height: calc(1em + 8px) !important;
}
.column-header-temp:not(.js-column-header) {
/* fix missing column header padding in Edit List dialog */
padding-left: 10px;
padding-right: 10px;
}
.js-column-options .btn-options-tray {
/* fix underline on buttons in column options */
text-decoration: none !important;