Fix: New tab button - Make same rounding like Selected tab

This commit is contained in:
alstjr7375 2021-06-29 10:52:26 +09:00
parent 511427de1c
commit f068d81103

View file

@ -350,12 +350,11 @@
-moz-context-properties: fill !important;
/* Corner Image */
--newtab-corner-rounding: calc(var(--tab-corner-rounding) + 2px);
--newtab-position: calc((var(--newtab-corner-rounding) / 2) * -1);
--newtab-position: calc((var(--tab-corner-rounding) / 2) * -1);
background-image: url("./icons/tab-bottom-corner-left.svg"), url("./icons/tab-bottom-corner-right.svg");
background-repeat: no-repeat;
background-position: left var(--newtab-position) bottom var(--tabs-navbar-original-shadow-size), right var(--newtab-position) bottom var(--tabs-navbar-original-shadow-size);
background-size: var(--newtab-corner-rounding);
background-size: var(--tab-corner-rounding);
}
#tabs-newtab-button .toolbarbutton-icon {