Просмотр исходного кода

Merge pull request #11094 from overleaf/jel-use-label-style

[web] Use label rather than deprecated badge style

GitOrigin-RevId: f1275af06642def626820bc81cf7a318da0eedcf
Jessica Lawshe 3 лет назад
Родитель
Сommit
998a787a57
1 измененных файлов с 2 добавлено и 6 удалено
  1. 2 6
      services/web/frontend/stylesheets/modules/admin-panel.less

+ 2 - 6
services/web/frontend/stylesheets/modules/admin-panel.less

@@ -1,5 +1,3 @@
-@import '../../../frontend/stylesheets/core/variables.less';
-
 .admin-panel-pagination {
   display: flex;
   justify-content: center;
@@ -7,12 +5,10 @@
 
 .phase-badge {
   display: inline-block;
-  border-radius: @badge-border-radius;
   font-size: @font-size-small;
-  font-weight: @badge-font-weight;
-  line-height: @badge-line-height;
-  color: @badge-color;
   white-space: nowrap;
   text-align: center;
   padding: 3px 7px;
+  &:extend(.label);
+  &:extend(.label-info);
 }