Skip to content

Commit

Permalink
Remove useless code, Add proportions for the new copy icon
Browse files Browse the repository at this point in the history
  • Loading branch information
ronilaukkarinen committed Nov 26, 2023
1 parent 576a1d3 commit 3b48b5f
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 9 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### 2.0.0rc: 2023-11-12
### 2.0.0rc: 2023-11-26

* Prepare for 4.3.0 release with SVG icons
* Add icon support for new SVG icons, replace icons for Home, Notifications, Explore, Live feeds, Private mentions, bookmarks, Favorites, Preferences and Lists
Expand All @@ -19,6 +19,8 @@
* Fix a corner case bug where advanced UI in mobile mode has wrong order in column links
* Add profile link icons for Nostr, Bluesky and Threads
* Truncate too long links in the profile, like Nostr
* Remove font-size definitions from icon fonts that are no longer in use
* Add proportions for the new copy icon

### 1.8.0: 2023-10-29

Expand Down
14 changes: 10 additions & 4 deletions layout-multiple-columns.css
Original file line number Diff line number Diff line change
Expand Up @@ -2618,7 +2618,17 @@ body.embed .button.logo-button,
border-top-left-radius: 9999px;
border-top-right-radius: 9999px;
display: inline-flex;
height: 36px;
justify-content: center;
padding: 0;
width: 36px;
}

/* Copy-icon size in profile */
.layout-multiple-columns .account__header__tabs__buttons .icon-button.copied svg,
.layout-multiple-columns .account__header__tabs__buttons .icon-button.copyable svg {
height: 18px;
width: 18px;
}

body.embed .button.logo-button:hover,
Expand All @@ -2628,10 +2638,6 @@ body.embed .button.logo-button:hover,
color: var(--color-light-text);
}

.layout-multiple-columns .account__header__tabs__buttons .icon-button .icon {
font-size: 17px;
}

.layout-multiple-columns .account__header__tabs__buttons .icon-button .icon-bell-o,
.layout-multiple-columns .account__header__tabs__buttons .icon-button .icon-bell {
content: var(--icon-bell-header-tabs);
Expand Down
15 changes: 11 additions & 4 deletions layout-single-column.css
Original file line number Diff line number Diff line change
Expand Up @@ -2645,7 +2645,17 @@ body.embed .button.logo-button,
border-top-left-radius: 9999px;
border-top-right-radius: 9999px;
display: inline-flex;
height: 36px;
justify-content: center;
padding: 0;
width: 36px;
}

/* Copy-icon size in profile */
.layout-single-column .account__header__tabs__buttons .icon-button.copied svg,
.layout-single-column .account__header__tabs__buttons .icon-button.copyable svg {
height: 18px;
width: 18px;
}

body.embed .button.logo-button:hover,
Expand All @@ -2655,10 +2665,6 @@ body.embed .button.logo-button:hover,
color: var(--color-light-text);
}

.layout-single-column .account__header__tabs__buttons .icon-button .icon {
font-size: 17px;
}

.layout-single-column .account__header__tabs__buttons .icon-button .icon-bell-o,
.layout-single-column .account__header__tabs__buttons .icon-button .icon-bell {
background-image: var(--icon-bell-header-tabs);
Expand Down Expand Up @@ -3208,6 +3214,7 @@ body.embed .button.logo-button:hover,
}

/* ...except for these icons, we kinda like them as they are */
.layout-single-column .icon.icon-undefined path,
.layout-single-column .icon.icon-users path,
.layout-single-column .account__header__tabs__buttons .icon.icon-user-plus path,
.layout-single-column .notification__filter-bar .icon.icon-user-plus path,
Expand Down

0 comments on commit 3b48b5f

Please sign in to comment.