Skip to content

Instantly share code, notes, and snippets.

@Loliver1224
Created December 16, 2022 10:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Loliver1224/194c1d887445204fcef03ad562d7f446 to your computer and use it in GitHub Desktop.
Save Loliver1224/194c1d887445204fcef03ad562d7f446 to your computer and use it in GitHub Desktop.
Better TweetDeck Custom CSS
body {
font-family: "Segoe UI", "メイリオ", Tahoma, sans-serif;
}
/* カラム幅を縦向きFHDディスプレイに合わせる */
.js-column.column:nth-child(n) {
width: 338px !important;
}
/* レイアウト設定 */
.app-columns-container > .app-columns {
display: flex;
flex-flow: column wrap;
}
/* カラムの高さをマウスで調整可能に */
.app-columns > section {
resize: vertical;
}
/* 2番目から5番目までのカラムの高さを50%に(縦に2カラム表示) */
.app-columns > section:nth-child(n+2):nth-child(-n+5) {
height: 50%;
}
@Loliver1224
Copy link
Author

横向き用

.js-column.column:nth-child(n) {
  width: calc((100% - 10px) / 5) !important;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment