Skip to content

Commit

Permalink
be smarter about applying display:block to events
Browse files Browse the repository at this point in the history
  • Loading branch information
arshaw committed Jun 29, 2020
1 parent b2940b8 commit 7ed527d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
4 changes: 0 additions & 4 deletions packages/common/src/styles/event.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ $event-resizer-z: 4;
// link resets
// ----------------------------------------------------------------------------------------------------

.fc-event { // don't be too specific with a tag
display: block;
}

a.fc-event,
a.fc-event:hover {
text-decoration: none;
Expand Down
2 changes: 1 addition & 1 deletion packages/common/src/styles/h-event.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A HORIZONTAL event
*/

.fc-h-event { // allowed to be top-level

display: block;
border: 1px solid var(--fc-event-bg-color);
background-color: var(--fc-event-border-color);

Expand Down
1 change: 1 addition & 0 deletions packages/daygrid/src/styles/daygrid-event.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
// --- the dot style of event ---

.fc-daygrid-dot-event {
display: block;
padding: 2px 0;
overflow: hidden;

Expand Down
2 changes: 1 addition & 1 deletion packages/timegrid/src/styles/v-event.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A VERTICAL event
*/

.fc-v-event { // allowed to be top-level

display: block;
border: 1px solid var(--fc-event-border-color);
background-color: var(--fc-event-bg-color);

Expand Down

0 comments on commit 7ed527d

Please sign in to comment.