Skip to content

Commit

Permalink
fix(app): remove redundant CSS and classes
Browse files Browse the repository at this point in the history
  • Loading branch information
9inpachi committed Apr 25, 2021
1 parent cb68283 commit d2b7d34
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 42 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
<div
class="eventSelector"
class="eventSelector mx-2"
*ngIf="events != null"
matTooltip="Event selector"
matTooltipPosition="above"
>
<label for="event">Event</label>
<select id="event" name="event" (change)="changeEvent($event)">
<select name="event" (change)="changeEvent($event)">
<option *ngFor="let event of events" [value]="event">
{{ event }}
</option>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@
.eventSelector {
display: flex;
margin-left: 1rem;
margin-right: 1rem;
font-size: 0.9rem;

label {
display: none;
color: var(--phoenix-text-color-secondary);
}

select {
width: 9rem;
padding: 5px 10px;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div id="uiMenu" class="optionsWrapper">
<div id="uiMenu">
<button
id="hide-ui-menu"
[matTooltip]="hideUIMenu ? 'Show toolbar' : 'Hide toolbar'"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.optionsWrapper {
#uiMenu {
position: absolute;
bottom: 1rem;
width: 100%;
Expand All @@ -10,7 +10,6 @@

#optionsPanel {
display: flex;
justify-content: center;
align-items: center;
background: var(--phoenix-background-color-secondary);
border: 1px solid var(--phoenix-background-color-tertiary);
Expand All @@ -20,22 +19,6 @@
padding: 0.3rem 1rem;
overflow-x: scroll;
z-index: 90;

.preset-views {
display: flex;
flex-direction: row;
align-items: center;
}
}

#helpPanel {
position: absolute;
right: 1rem;
bottom: 0.5rem;
}

.optionsSeparator {
margin: 0 0.5rem;
}

#hide-ui-menu {
Expand Down Expand Up @@ -64,13 +47,3 @@
}
}
}

@media screen and (max-width: 768px) {
#optionsPanel {
justify-content: inherit;
}

.preset-views-ul {
display: none;
}
}

0 comments on commit d2b7d34

Please sign in to comment.