Skip to content

Commit

Permalink
🎨 Adaptation of the remaining apps
Browse files Browse the repository at this point in the history
  • Loading branch information
tw93 committed Nov 13, 2023
1 parent a15e3f2 commit b91c0ce
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src-tauri/pake.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"windows": [
{
"url": "https://weread.qq.com/",
"url": "https://weread.qq.com",
"transparent": true,
"fullscreen": false,
"width": 1200,
Expand Down
4 changes: 1 addition & 3 deletions src-tauri/src/app/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,5 @@ pub fn get_window(app: &mut App, config: PakeConfig, _data_dir: PathBuf) -> Wind
window_builder = window_builder.data_directory(_data_dir);
}

let window = window_builder.build().expect("Failed to build window");

window
window_builder.build().expect("Failed to build window")
}
17 changes: 17 additions & 0 deletions src-tauri/src/inject/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,14 @@ window.addEventListener('DOMContentLoaded', _event => {
border-bottom: none;
}
#global > div.header-container.showSearchBoxOrHeaderFixed > header > div.right > div > div.dropdown-nav{
display: none;
}
#__next > div.AnnouncementWrapper_container__Z51yh > div > aside > div > div > menu > section:nth-child(4) > section, #__next > div.AnnouncementWrapper_container__Z51yh > div > aside > div > div > menu > section:nth-child(4){
display: none;
}
#react-root [data-testid="placementTracking"] article,
#react-root a[href*="quick_promote_web"],
#react-root [data-testid="AppTabBar_Explore_Link"],
Expand Down Expand Up @@ -320,6 +328,15 @@ window.addEventListener('DOMContentLoaded', _event => {
padding-top: 0px;
}
#header-area > div > .css-gtiexd > div:nth-child(1) > div, #header-area .logoIcon .user-info{
padding-top: 20px;
}
#__next > div.AnnouncementWrapper_container__Z51yh > div > aside.SidebarLayout_sidebar__SXeDJ.SidebarLayout_left__k163a > div > div > header{
padding-left: 84px;
padding-top: 10px;
}
#page .main_header, .cb-layout-basic--navbar,
#app .splitpanes.splitpanes--horizontal.no-splitter header,
.fui-FluentProvider .fui-Button[data-testid="HomeButton"],
Expand Down

0 comments on commit b91c0ce

Please sign in to comment.