Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/sass
diff options
context:
space:
mode:
authorAlexander Shubin <aleksandrs.subins@zabbix.com>2022-10-10 12:35:51 +0300
committerAlexander Shubin <aleksandrs.subins@zabbix.com>2022-10-10 12:35:51 +0300
commitd809d9e294f31d4331916ce0e3cb167cba519a65 (patch)
tree8bbad13cdeb3269b09003b65cc2918912e427359 /sass
parent9092f4cb6af7f9e75b19bed2a7797b24df8a4462 (diff)
..F....... [ZBXNEXT-7469] moved widget custom css class to content level
Diffstat (limited to 'sass')
-rw-r--r--sass/stylesheets/sass/components/dashboard/_widget-clock.scss2
-rw-r--r--sass/stylesheets/sass/components/dashboard/_widget-item.scss12
2 files changed, 8 insertions, 6 deletions
diff --git a/sass/stylesheets/sass/components/dashboard/_widget-clock.scss b/sass/stylesheets/sass/components/dashboard/_widget-clock.scss
index beb684f1cfd..638de52aaed 100644
--- a/sass/stylesheets/sass/components/dashboard/_widget-clock.scss
+++ b/sass/stylesheets/sass/components/dashboard/_widget-clock.scss
@@ -42,7 +42,7 @@ form.dashboard-widget-clock {
// Widget view.
div.dashboard-widget-clock {
- &.clock-digital {
+ .clock-digital {
$line-height: 1.14;
box-sizing: border-box;
diff --git a/sass/stylesheets/sass/components/dashboard/_widget-item.scss b/sass/stylesheets/sass/components/dashboard/_widget-item.scss
index 37a07221d38..3c1c86646d9 100644
--- a/sass/stylesheets/sass/components/dashboard/_widget-item.scss
+++ b/sass/stylesheets/sass/components/dashboard/_widget-item.scss
@@ -76,12 +76,14 @@ form.dashboard-widget-item {
div.dashboard-widget-item {
$line-height: 1.14;
- box-sizing: border-box;
- height: 100%;
- padding: 10px;
- overflow-x: hidden;
+ > div {
+ box-sizing: border-box;
+ height: 100%;
+ padding: 10px;
+ overflow-x: hidden;
- @extend %webkit-scrollbar;
+ @extend %webkit-scrollbar;
+ }
a {
box-sizing: border-box;