mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-02-27 04:06:39 +00:00
Improved styles
This commit is contained in:
@@ -1,4 +0,0 @@
|
||||
@mixin border-radius($radius) {
|
||||
border-radius: $radius;
|
||||
-webkit-border-radius: $radius;
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
@mixin box-shadow($shadow) {
|
||||
-webkit-box-shadow: $shadow;
|
||||
box-shadow: $shadow;
|
||||
}
|
||||
8
src/utils/mixins/fit-with-margin.scss
Normal file
8
src/utils/mixins/fit-with-margin.scss
Normal file
@@ -0,0 +1,8 @@
|
||||
@mixin fit-with-margin($margin) {
|
||||
$offset: $margin * 2;
|
||||
|
||||
width: calc(100% - #{$offset});
|
||||
max-width: calc(100% - #{$offset});
|
||||
height: calc(100% - #{$offset});
|
||||
margin: $margin;
|
||||
}
|
||||
Reference in New Issue
Block a user