Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3360550
D6848.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D6848.diff
View Options
diff --git a/web/calendar/calendar.css b/web/calendar/calendar.css
--- a/web/calendar/calendar.css
+++ b/web/calendar/calendar.css
@@ -1,3 +1,8 @@
+.container {
+ display: flex;
+ flex-direction: row;
+}
+
.filtersButton {
color: var(--fg);
background-color: var(--filters-button-bg);
@@ -20,7 +25,6 @@
div.content {
height: 100%;
- position: relative;
overflow: auto;
}
diff --git a/web/calendar/calendar.react.js b/web/calendar/calendar.react.js
--- a/web/calendar/calendar.react.js
+++ b/web/calendar/calendar.react.js
@@ -159,11 +159,9 @@
}
let filterPanel = null;
- let calendarContentStyle = null;
let filterButton = null;
if (this.state.filterPanelOpen) {
filterPanel = <FilterPanel toggleFilters={this.toggleFilters} />;
- calendarContentStyle = { marginLeft: '300px' };
} else {
filterButton = (
<a className={css.filtersButton} onClick={this.toggleFilters}>
@@ -173,9 +171,9 @@
}
return (
- <div>
+ <div className={css.container}>
{filterPanel}
- <div className={css.content} style={calendarContentStyle}>
+ <div className={css.content}>
<div>
{filterButton}
<nav className={css.nav}>
diff --git a/web/calendar/filter-panel.css b/web/calendar/filter-panel.css
--- a/web/calendar/filter-panel.css
+++ b/web/calendar/filter-panel.css
@@ -1,8 +1,5 @@
div.container {
- position: fixed;
width: 300px;
- top: 126px;
- bottom: 0;
background-attachment: fixed;
display: flex;
flex-direction: column;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 25, 1:21 PM (21 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2579901
Default Alt Text
D6848.diff (1 KB)
Attached To
Mode
D6848: [web] Fix filter panel showing over the topbar
Attached
Detach File
Event Timeline
Log In to Comment