Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 0 additions & 26 deletions src/disco/css/Addon.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,20 +53,7 @@ $addon-padding: 20px;
}
}

.Addon-install-button {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these redundant due to markup changes, or is this just controlled elsewhere?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The style is now controlled elsewhere for the most part so these were causing issues.

margin: 0 20px 0 30px;

[dir=rtl] & {
margin: 0 30px 0 20px;
}
}

&:not(.theme) .Addon-install-button {
align-self: stretch;
border-top: 1px solid rgba(0, 0, 0, 0.1);
margin: 0 0 15px;
padding: 15px 20px 0;

> .switch {
float: right;

Expand All @@ -76,19 +63,6 @@ $addon-padding: 20px;
}
}

@include respond-to(large) {
&:not(.theme) .Addon-install-button {
align-self: center;
border: 0;
margin: 0 20px 0 30px;
padding: 0;

[dir=rtl] & {
margin: 0 30px 0 20px;
}
}
}

.logo {
align-items: center;
align-self: stretch;
Expand Down
4 changes: 4 additions & 0 deletions src/disco/css/App.scss
Original file line number Diff line number Diff line change
Expand Up @@ -248,3 +248,7 @@ header {
}
}
}

.InstallButton {
@include padding-end(20px);
}