diff --git a/webapp/pages/profile/_id/_slug.vue b/webapp/pages/profile/_id/_slug.vue index d56aec446..8c6741f82 100644 --- a/webapp/pages/profile/_id/_slug.vue +++ b/webapp/pages/profile/_id/_slug.vue @@ -172,7 +172,7 @@ @@ -501,51 +504,28 @@ export default { .pointer { cursor: pointer; } -.Tab { - border-collapse: collapse; - padding-bottom: 5px; -} -.Tab:hover { - border-bottom: 2px solid #c9c6ce; -} + .Tabs { position: relative; background-color: #fff; height: 100%; - - &:after { - content: ' '; - display: table; - clear: both; - } + display: flex; margin: 0; padding: 0; list-style: none; &__tab { - float: left; - width: 33.333%; text-align: center; height: 100%; + flex-grow: 1; - &:first-child.active ~ .Tabs__presentation-slider { - left: 0; + &:hover { + border-bottom: 2px solid #c9c6ce; } - &:nth-child(2).active ~ .Tabs__presentation-slider { - left: 33.333%; + + &.active { + border-bottom: 2px solid #17b53f; } - &:nth-child(3).active ~ .Tabs__presentation-slider { - left: calc(33.333% * 2); - } - } - &__presentation-slider { - position: absolute; - bottom: 0; - left: 0; - width: 33.333%; - height: 2px; - background-color: #17b53f; - transition: left 0.25s; } } .profile-avatar.ds-avatar {